diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2009-04-16 20:15:13 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2009-04-22 00:56:35 -0400 |
commit | bcd71fe6b1a8694747b0b451c9ec22d813ad7e27 (patch) | |
tree | 3d1d0b9abc7a38cb41ebbc4bee7ce0bbeba17d26 /drivers/macintosh/Kconfig | |
parent | fec629b827335154366ecd8b38f007d649338fb3 (diff) |
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/Kconfig | 2 |
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 | |||
123 | 123 | ||
124 | config PMAC_MEDIABAY | 124 | config PMAC_MEDIABAY |
125 | bool "Support PowerBook hotswap media bay" | 125 | bool "Support PowerBook hotswap media bay" |
126 | depends on PPC_PMAC && PPC32 | 126 | depends on PPC_PMAC && PPC32 && BLOCK |
127 | help | 127 | help |
128 | This option adds support for older PowerBook's hotswap media bay | 128 | This option adds support for older PowerBook's hotswap media bay |
129 | that can contains batteries, floppy drives, or IDE devices. PCI | 129 | that can contains batteries, floppy drives, or IDE devices. PCI |