From: David Brownell Date: Sun, 14 Oct 2007 21:50:25 +0000 (-0700) Subject: Fix compile while compiling drivers/mmc/host/mmc_spi.o with !BLOCK X-Git-Tag: v2.6.24-rc1~1296 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23fd50450a34f2558070ceabb0bfebc1c9604af5;p=linux-2.6 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" 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 Signed-off-by: Linus Torvalds --- diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c index f30327bba6..254b194e76 100644 --- a/drivers/mmc/host/mmc_spi.c +++ b/drivers/mmc/host/mmc_spi.c @@ -26,7 +26,7 @@ */ #include #include -#include +#include #include #include #include