pata_platform: Remove CONFIG_HAVE_PATA_PLATFORM's dependencies.
authorNick Bowler <nbowler@elliptictech.com>
Sat, 8 Jan 2011 02:32:02 +0000 (21:32 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 8 Jan 2011 03:38:26 +0000 (22:38 -0500)
commit2ad2c320a107aceeba984f97ab2a60064101f5d5
tree46584e6e707b6f9d85b487f83869e03b4e259588
parentfc2698d5ec7e96ba2c94a942329cfa4c5d6085f7
pata_platform: Remove CONFIG_HAVE_PATA_PLATFORM's dependencies.

CONFIG_HAVE_PATA_PLATFORM, by virtue of where its defined, has a
dependency on CONFG_ATA and CONFIG_ATA_SFF.  This causes Kconfig
warnings when it is selected by various architectures, such as

  warning: (ARCH_VEXPRESS && <choice> || ARCH_RPC && <choice> || MACH_VPAC270 && ARCH_PXA || MACH_REALVIEW_PB11MP && ARCH_REALVIEW || MACH_REALVIEW_PBA8 && ARCH_REALVIEW || MACH_REALVIEW_PBX && ARCH_REALVIEW || MACH_BAST_IDE && ARCH_S3C2410 || MACH_ANUBIS && ARCH_S3C2410) selects HAVE_PATA_PLATFORM which has unmet direct dependencies (ATA && ATA_SFF)

Since this option is only used to control visibility of the
CONFIG_PATA_PLATFORM option and isn't itself visible in the menu,
it is straightforward to simply remove these dependencies rather
than adjust all the architectures.

Signed-off-by: Nick Bowler <nbowler@elliptictech.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/Kconfig