]> Git Repo - linux.git/commitdiff
Fix compile while compiling drivers/mmc/host/mmc_spi.o with !BLOCK
authorDavid Brownell <[email protected]>
Sun, 14 Oct 2007 21:50:25 +0000 (14:50 -0700)
committerLinus Torvalds <[email protected]>
Sun, 14 Oct 2007 23:48:52 +0000 (16:48 -0700)
Make sure the mmc_spi driver can build without CONFIG_BLOCK.
Issue noted by "Avuton Olrich" <[email protected]> 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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/mmc/host/mmc_spi.c

index f30327bba6f68232132c1684b5bbd53495e71d40..254b194e762544ebfb7dfe539cabd2eaa00a715c 100644 (file)
@@ -26,7 +26,7 @@
  */
 #include <linux/hrtimer.h>
 #include <linux/delay.h>
-#include <linux/blkdev.h>
+#include <linux/bio.h>
 #include <linux/dma-mapping.h>
 #include <linux/crc7.h>
 #include <linux/crc-itu-t.h>
This page took 0.050082 seconds and 4 git commands to generate.