diff options
author | David Brownell <david-b@pacbell.net> | 2007-10-14 17:50:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 19:48:52 -0400 |
commit | 23fd50450a34f2558070ceabb0bfebc1c9604af5 (patch) | |
tree | 4f19aeb5fed22ae982e213fd14486208e1270f6f /drivers/mmc/host | |
parent | 59d66ce238e573fe3369427e91a8291f2cf67891 (diff) |
Fix compile while compiling drivers/mmc/host/mmc_spi.o with !BLOCK
Make sure the mmc_spi driver can build without CONFIG_BLOCK.
Issue noted by "Avuton Olrich" <avuton@gmail.com> and randconfig.
While that won't be a common configuration, sometimes embedded
boards use SDIO to interface WLAN or Bluetooth chips (vs some
parallel interface), and don't provide an MMC/SD socket for use
with flash memory cards.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/mmc_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c index f30327bba6f6..254b194e7625 100644 --- a/drivers/mmc/host/mmc_spi.c +++ b/drivers/mmc/host/mmc_spi.c | |||
@@ -26,7 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | #include <linux/hrtimer.h> | 27 | #include <linux/hrtimer.h> |
28 | #include <linux/delay.h> | 28 | #include <linux/delay.h> |
29 | #include <linux/blkdev.h> | 29 | #include <linux/bio.h> |
30 | #include <linux/dma-mapping.h> | 30 | #include <linux/dma-mapping.h> |
31 | #include <linux/crc7.h> | 31 | #include <linux/crc7.h> |
32 | #include <linux/crc-itu-t.h> | 32 | #include <linux/crc-itu-t.h> |