Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcd71fe6 authored by Alexander Beregalov's avatar Alexander Beregalov Committed by Paul Mackerras
Browse files

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: default avatarAlexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent fec629b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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