Fix compile while compiling drivers/mmc/host/mmc_spi.o with !BLOCK
authorDavid Brownell <david-b@pacbell.net>
Sun, 14 Oct 2007 21:50:25 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 14 Oct 2007 23:48:52 +0000 (16:48 -0700)
commit23fd50450a34f2558070ceabb0bfebc1c9604af5
tree4f19aeb5fed22ae982e213fd14486208e1270f6f
parent59d66ce238e573fe3369427e91a8291f2cf67891
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>
drivers/mmc/host/mmc_spi.c