Not every arch has io memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <rich...@nod.at>
---
 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

Reply via email to