Commit cc18e0fe authored by Ben Dooks's avatar Ben Dooks Committed by Jeff Garzik
Browse files

LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver



Add HAVE_PATA_PLATFORM to select the pata platform driver
to ensure that we do not end up with a long 'depends on' list
when other users of this driver turn up.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent c6112bd8
Loading
Loading
Loading
Loading
+9 −1
Original line number Original line Diff line number Diff line
@@ -651,9 +651,17 @@ config PATA_WINBOND_VLB
	  Support for the Winbond W83759A controller on Vesa Local Bus
	  Support for the Winbond W83759A controller on Vesa Local Bus
	  systems.
	  systems.


config HAVE_PATA_PLATFORM
	bool
	help
	  This is an internal configuration node for any machine that
	  uses pata-platform driver to enable the relevant driver in the
	  configuration structure without having to submit endless patches
	  to update the PATA_PLATFORM entry.

config PATA_PLATFORM
config PATA_PLATFORM
	tristate "Generic platform device PATA support"
	tristate "Generic platform device PATA support"
	depends on EMBEDDED || ARCH_RPC || PPC
	depends on EMBEDDED || ARCH_RPC || PPC || HAVE_PATA_PLATFORM
	help
	help
	  This option enables support for generic directly connected ATA
	  This option enables support for generic directly connected ATA
	  devices commonly found on embedded systems.
	  devices commonly found on embedded systems.