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 e9bbe3ebd7217c23a9a96bb2f3adfe6f536914f5..d5ca78b93a3bbd9f9e78191cb5f7314622259045 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;