Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Richard Weinberger Newsgroups: linux.kernel Subject: [PATCH 09/22] leds: Fix dependencies for !HAS_IOMEM archs Date: Mon, 25 Jan 2016 23:30:02 +0100 Message-ID: References: X-Mailer: git-send-email 1.8.4.5 Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 30 Organization: linux.* mail to news gateway X-Original-Cc: user-mode-linux-devel@lists.sourceforge.net, Richard Weinberger , Richard Purdie , Jacek Anaszewski , linux-leds@vger.kernel.org X-Original-Date: Mon, 25 Jan 2016 23:24:08 +0100 X-Original-Message-ID: <1453760661-1444-10-git-send-email-richard@nod.at> X-Original-References: <1453760661-1444-1-git-send-email-richard@nod.at> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1317352 Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- 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