mmc_spi: mmc_spi.h should include linux/interrupts.h
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Sun, 1 Jun 2008 09:49:32 +0000 (11:49 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 2 Jun 2008 22:27:10 +0000 (15:27 -0700)
Since mmc_spi.h uses irqreturn_t type, it should include appropriate
header, otherwise build will break if users didn't include it (some of
them do not use interrupts).

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/spi/mmc_spi.h

index e9bbe3e..d5ca78b 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef __LINUX_SPI_MMC_SPI_H
 #define __LINUX_SPI_MMC_SPI_H
 
+#include <linux/interrupt.h>
+
 struct device;
 struct mmc_host;