[POWERPC] Convert powermac ide blink to new led infrastructure
This patch removes the old pmac ide led blink code and adds generic LED subsystem support for the LED. It maintains backward compatibility with the old BLK_DEV_IDE_PMAC_BLINK Kconfig option which now simply selects the new code and influences the default trigger. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
266bee8869
commit
70c3967d4f
@@ -78,6 +78,17 @@ config ADB_PMU
|
||||
this device; you should do so if your machine is one of those
|
||||
mentioned above.
|
||||
|
||||
config ADB_PMU_LED
|
||||
bool "Support for the Power/iBook front LED"
|
||||
depends on ADB_PMU
|
||||
select LEDS_CLASS
|
||||
help
|
||||
Support the front LED on Power/iBooks as a generic LED that can
|
||||
be triggered by any of the supported triggers. To get the
|
||||
behaviour of the old CONFIG_BLK_DEV_IDE_PMAC_BLINK, select this
|
||||
and the ide-disk LED trigger and configure appropriately through
|
||||
sysfs.
|
||||
|
||||
config PMAC_SMU
|
||||
bool "Support for SMU based PowerMacs"
|
||||
depends on PPC_PMAC64
|
||||
|
Reference in New Issue
Block a user