diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-06-01 11:49:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-02 15:27:10 -0700 |
commit | 63e14626eddb534ab429e9c2b95d3f7038b596b6 (patch) | |
tree | ba35631300285035f154096f775cc01154c4084a /include/linux/spi | |
parent | b09916e4f07de1cb2259cb01ec31e6ce535471bc (diff) | |
download | op-kernel-dev-63e14626eddb534ab429e9c2b95d3f7038b596b6.zip op-kernel-dev-63e14626eddb534ab429e9c2b95d3f7038b596b6.tar.gz |
mmc_spi: mmc_spi.h should include linux/interrupts.h
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>
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/mmc_spi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/spi/mmc_spi.h b/include/linux/spi/mmc_spi.h index e9bbe3e..d5ca78b 100644 --- a/include/linux/spi/mmc_spi.h +++ b/include/linux/spi/mmc_spi.h @@ -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; |