summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-04-17 00:15:13 +0000
committerPaul Mackerras <paulus@samba.org>2009-04-22 14:56:35 +1000
commitbcd71fe6b1a8694747b0b451c9ec22d813ad7e27 (patch)
tree3d1d0b9abc7a38cb41ebbc4bee7ce0bbeba17d26 /drivers/macintosh
parentfec629b827335154366ecd8b38f007d649338fb3 (diff)
downloadlinux-bcd71fe6b1a8694747b0b451c9ec22d813ad7e27.tar.gz
linux-bcd71fe6b1a8694747b0b451c9ec22d813ad7e27.tar.bz2
linux-bcd71fe6b1a8694747b0b451c9ec22d813ad7e27.zip
powerpc: Make macintosh/mediabay driver depend on CONFIG_BLOCK
Fixes 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> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig
index 173cf55c64d0..3d906833948d 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