summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/Kconfig
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-04-17 02:15:13 +0200
committerPaul Mackerras <paulus@samba.org>2009-04-22 06:56:35 +0200
commitbcd71fe6b1a8694747b0b451c9ec22d813ad7e27 (patch)
tree3d1d0b9abc7a38cb41ebbc4bee7ce0bbeba17d26 /drivers/macintosh/Kconfig
parentmaintainers: Fix PS3 patterns (diff)
downloadlinux-bcd71fe6b1a8694747b0b451c9ec22d813ad7e27.tar.xz
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/Kconfig')
-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