powerpc/pmu: Fix ADB_PMU_LED_IDE dependencies
authorChristian Kujau <lists@nerdbynature.de>
Wed, 30 Oct 2013 04:25:43 +0000 (21:25 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 31 Oct 2013 01:37:29 +0000 (12:37 +1100)
commitde00b30d054857990dc573648e4767ec512009c7
treed0a00adabf6ce0c5bfab0dfd187f980a92e6af97
parentc81095a465b2c1cd819fb14ee3cd07bc1b377af1
powerpc/pmu: Fix ADB_PMU_LED_IDE dependencies

for quite some time the following is printed (twice) after doing
"make oldconfig":

[...]
scripts/kconfig/conf --oldconfig Kconfig
warning: (ADB_PMU_LED_IDE) selects LEDS_TRIGGER_IDE_DISK which has unmet direct dependencies (NEW_LEDS && IDE_GD_ATA && LEDS_TRIGGERS)
warning: (ADB_PMU_LED_IDE) selects LEDS_TRIGGER_IDE_DISK which has unmet direct dependencies (NEW_LEDS && IDE_GD_ATA && LEDS_TRIGGERS)

The following patch causes ADB_PMU_LED to depend on IDE_GD_ATA, so that
the options above are only available when IDE_GD_ATA is actually selected
and thus eliminates the warning.

Signed-off-by: Christian Kujau <lists@nerdbynature.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/macintosh/Kconfig