[PATCH 09/22] leds: Fix dependencies for !HAS_IOMEM archs
From: Richard Weinberger
Date: Mon Jan 25 2016 - 17:29:55 EST
Not every arch has io memory.
So, unbreak the build by fixing the dependencies.
Signed-off-by: Richard Weinberger <richard@xxxxxx>
---
drivers/leds/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 7f940c2..e76a45c 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -54,6 +54,7 @@ config LEDS_BCM6328
depends on LEDS_CLASS
depends on HAS_IOMEM
depends on OF
+ depends on HAS_IOMEM
help
This option enables support for LEDs connected to the BCM6328
LED HW controller accessed via MMIO registers.
@@ -63,6 +64,7 @@ config LEDS_BCM6358
depends on LEDS_CLASS
depends on HAS_IOMEM
depends on OF
+ depends on HAS_IOMEM
help
This option enables support for LEDs connected to the BCM6358
LED HW controller accessed via MMIO registers.
--
1.8.4.5