Patchwork macintosh/mediabay should depend on BLOCK

login
register
mail settings
Submitter Alexander Beregalov
Date April 17, 2009, 10:15 a.m.
Message ID <20090417101513.GA31127@orion>
Download mbox | patch
Permalink /patch/26117/
State Accepted, archived
Commit bcd71fe6b1a8694747b0b451c9ec22d813ad7e27
Delegated to: Paul Mackerras
Headers show

Comments

Alexander Beregalov - April 17, 2009, 10:15 a.m.
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

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---

 drivers/macintosh/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig
index 173cf55..3d90683 100644
--- a/drivers/macintosh/Kconfig
+++ b/drivers/macintosh/Kconfig
@@ -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