Commit 2ad2c320 authored by Nick Bowler's avatar Nick Bowler Committed by Jeff Garzik

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: default avatarNick Bowler <nbowler@elliptictech.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent fc2698d5
...@@ -2,6 +2,14 @@ ...@@ -2,6 +2,14 @@
# SATA/PATA driver configuration # SATA/PATA driver configuration
# #
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.
menuconfig ATA menuconfig ATA
tristate "Serial ATA and Parallel ATA drivers" tristate "Serial ATA and Parallel ATA drivers"
depends on HAS_IOMEM depends on HAS_IOMEM
...@@ -773,14 +781,6 @@ config PATA_PCMCIA ...@@ -773,14 +781,6 @@ config PATA_PCMCIA
If unsure, say N. If unsure, say N.
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 || PPC || HAVE_PATA_PLATFORM depends on EMBEDDED || PPC || HAVE_PATA_PLATFORM
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment