[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-11bc26fe372fa6da81c82c68f755d2795838a640@git.kernel.org>
Date: Thu, 26 Mar 2015 06:46:30 -0700
From: tip-bot for Richard Weinberger <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: daniel.lezcano@...aro.org, mingo@...nel.org, tglx@...utronix.de,
richard@....at, geert+renesas@...der.be, hpa@...or.com,
linux-kernel@...r.kernel.org
Subject: [tip:timers/urgent] clocksource/drivers:
Fix various !CONFIG_HAS_IOMEM build errors
Commit-ID: 11bc26fe372fa6da81c82c68f755d2795838a640
Gitweb: http://git.kernel.org/tip/11bc26fe372fa6da81c82c68f755d2795838a640
Author: Richard Weinberger <richard@....at>
AuthorDate: Thu, 26 Mar 2015 10:27:06 +0100
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Thu, 26 Mar 2015 10:59:40 +0100
clocksource/drivers: Fix various !CONFIG_HAS_IOMEM build errors
Fix !CONFIG_HAS_IOMEM related build failures in three clocksource drivers.
The build failures have the pattern of:
drivers/clocksource/sh_cmt.c: In function ‘sh_cmt_map_memory’: drivers/clocksource/sh_cmt.c:920:2:
error: implicit declaration of function ‘ioremap_nocache’ [-Werror=implicit-function-declaration] cmt->mapbase = ioremap_nocache(mem->start, resource_size(mem));
Signed-off-by: Richard Weinberger <richard@....at>
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
Acked-by: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: maxime.ripard@...e-electrons.com
Link: http://lkml.kernel.org/r/1427362029-6511-1-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
drivers/clocksource/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 68161f7..a0b036c 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -192,6 +192,7 @@ config SYS_SUPPORTS_EM_STI
config SH_TIMER_CMT
bool "Renesas CMT timer driver" if COMPILE_TEST
depends on GENERIC_CLOCKEVENTS
+ depends on HAS_IOMEM
default SYS_SUPPORTS_SH_CMT
help
This enables build of a clocksource and clockevent driver for
@@ -201,6 +202,7 @@ config SH_TIMER_CMT
config SH_TIMER_MTU2
bool "Renesas MTU2 timer driver" if COMPILE_TEST
depends on GENERIC_CLOCKEVENTS
+ depends on HAS_IOMEM
default SYS_SUPPORTS_SH_MTU2
help
This enables build of a clockevent driver for the Multi-Function
@@ -210,6 +212,7 @@ config SH_TIMER_MTU2
config SH_TIMER_TMU
bool "Renesas TMU timer driver" if COMPILE_TEST
depends on GENERIC_CLOCKEVENTS
+ depends on HAS_IOMEM
default SYS_SUPPORTS_SH_TMU
help
This enables build of a clocksource and clockevent driver for
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists