Skip to content

Commit 23fd504

Browse files
David BrownellLinus Torvalds
authored andcommitted
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>
1 parent 59d66ce commit 23fd504

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mmc/host/mmc_spi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
#include <linux/hrtimer.h>
2828
#include <linux/delay.h>
29-
#include <linux/blkdev.h>
29+
#include <linux/bio.h>
3030
#include <linux/dma-mapping.h>
3131
#include <linux/crc7.h>
3232
#include <linux/crc-itu-t.h>

0 commit comments

Comments
 (0)