powerpc: Make macintosh/mediabay driver depend on CONFIG_BLOCK
authorAlexander Beregalov <a.beregalov@gmail.com>
Fri, 17 Apr 2009 00:15:13 +0000 (00:15 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Apr 2009 04:56:35 +0000 (14:56 +1000)
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>
drivers/macintosh/Kconfig

index 173cf55c64d0ffb4680c77f9a5ceb8a5d1930037..3d906833948d23862d468938e9b4d0ffb0233675 100644 (file)
@@ -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