From: Nicolai Stange <nicstange@gmail.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: linux-kernel@vger.kernel.org
Cc: Richard Weinberger <richard@nod.at>
Subject: [PATCH] clocksource: stm32: introduce dependency on HAS_IOMEM
Date: Sun, 21 Jun 2015 22:32:37 +0200 [thread overview]
Message-ID: <87pp4odcpm.fsf@gmail.com> (raw)
Fix allmodconfig compilation failer for ARCH=um:
drivers/clocksource/timer-stm32.c: In function 'stm32_clockevent_init':
drivers/clocksource/timer-stm32.c:175:2:
error: implicit declaration of function 'iounmap'
[-Werror=implicit-function-declaration]
iounmap(data->base);
^
Make CLKSRC_STM32 depend on HAS_IOMEM.
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
---
drivers/clocksource/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 60d7d3d..835e5c5 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -114,6 +114,7 @@ config CLKSRC_LPC32XX
config CLKSRC_STM32
bool "Clocksource for STM32 SoCs" if COMPILE_TEST
depends on OF
+ depends on HAS_IOMEM
select CLKSRC_MMIO
config ARM_ARCH_TIMER
--
2.4.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2015-06-21 20:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-21 20:32 Nicolai Stange [this message]
2015-06-22 13:55 ` [PATCH] clocksource: stm32: introduce dependency on HAS_IOMEM Nicolai Stange
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pp4odcpm.fsf@gmail.com \
--to=nicstange@gmail.com \
--cc=daniel.lezcano@linaro.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.