lkml.org 
[lkml]   [2016]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 09/22] leds: Fix dependencies for !HAS_IOMEM archs
Date
Not every arch has io memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <richard@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
\
 
 \ /
  Last update: 2016-01-26 00:01    [W:0.464 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site