diff options
author | Nick Bowler <nbowler@elliptictech.com> | 2011-01-07 21:32:02 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2011-01-07 22:38:26 -0500 |
commit | 2ad2c320a107aceeba984f97ab2a60064101f5d5 (patch) | |
tree | 46584e6e707b6f9d85b487f83869e03b4e259588 /drivers/ata/Kconfig | |
parent | fc2698d5ec7e96ba2c94a942329cfa4c5d6085f7 (diff) |
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>
Diffstat (limited to 'drivers/ata/Kconfig')
-rw-r--r-- | drivers/ata/Kconfig | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index e0c34d73770a..c6b298d4c136 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig | |||
@@ -2,6 +2,14 @@ | |||
2 | # SATA/PATA driver configuration | 2 | # SATA/PATA driver configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | config HAVE_PATA_PLATFORM | ||
6 | bool | ||
7 | help | ||
8 | This is an internal configuration node for any machine that | ||
9 | uses pata-platform driver to enable the relevant driver in the | ||
10 | configuration structure without having to submit endless patches | ||
11 | to update the PATA_PLATFORM entry. | ||
12 | |||
5 | menuconfig ATA | 13 | menuconfig ATA |
6 | tristate "Serial ATA and Parallel ATA drivers" | 14 | tristate "Serial ATA and Parallel ATA drivers" |
7 | depends on HAS_IOMEM | 15 | depends on HAS_IOMEM |
@@ -773,14 +781,6 @@ config PATA_PCMCIA | |||
773 | 781 | ||
774 | If unsure, say N. | 782 | If unsure, say N. |
775 | 783 | ||
776 | config HAVE_PATA_PLATFORM | ||
777 | bool | ||
778 | help | ||
779 | This is an internal configuration node for any machine that | ||
780 | uses pata-platform driver to enable the relevant driver in the | ||
781 | configuration structure without having to submit endless patches | ||
782 | to update the PATA_PLATFORM entry. | ||
783 | |||
784 | config PATA_PLATFORM | 784 | config PATA_PLATFORM |
785 | tristate "Generic platform device PATA support" | 785 | tristate "Generic platform device PATA support" |
786 | depends on EMBEDDED || PPC || HAVE_PATA_PLATFORM | 786 | depends on EMBEDDED || PPC || HAVE_PATA_PLATFORM |