leds: Do not guard NEW_LEDS with HAS_IOMEM
authorDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2008 10:33:32 +0000 (03:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2008 10:33:32 +0000 (03:33 -0700)
The LEDS infrastructure itself does not require anything
that a platform dependant upon HAS_IOMEM.

The individual drivers do, but they are properly guarded
with the necessary platform dependencies.

One can even imagine a hypervisor based LED driver that
a platform without HAS_IOMEM might have.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/leds/Kconfig

index 859814f..91d36d0 100644 (file)
@@ -1,6 +1,5 @@
 menuconfig NEW_LEDS
        bool "LED Support"
-       depends on HAS_IOMEM
        help
          Say Y to enable Linux LED support.  This allows control of supported
          LEDs from both userspace and optionally, by kernel events (triggers).