Skip to contentSkip to conversation

macintosh/mediabay should depend on BLOCK

PATCH New Alexander Beregalov 1 participant 1 message Apr 17, 2009 Linux for power macintosh

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 macintosh/mediabay should depend on BLOCK

Fix this build error
In file included from drivers/macintosh/mediabay.c:21:
include/linux/ide.h:605: error: field 'request_sense_rq' has incomplete type

---

 drivers/macintosh/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/macintosh/Kconfig +1 -1
index 173cf55..3d90683 100644
@@ -123,7 +123,7 @@ config PMAC_APM_EMU
 
 config PMAC_MEDIABAY
 	bool "Support PowerBook hotswap media bay"
-	depends on PPC_PMAC && PPC32
+	depends on PPC_PMAC && PPC32 && BLOCK
 	help
 	  This option adds support for older PowerBook's hotswap media bay
 	  that can contains batteries, floppy drives, or IDE devices. PCI