linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] clocksource/sh_cmt.c: Fix !HAS_IOMEM build
@ 2015-03-16 21:27 Richard Weinberger
  2015-03-16 21:27 ` [PATCH 2/6] clocksource/sh_mtu2.c: " Richard Weinberger
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Richard Weinberger @ 2015-03-16 21:27 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-iio, linux-pm, dwmw2, dbaryshkov, sre, jassisinghbrar,
	pmeerw, lars, knaack.h, jic23, tglx, daniel.lezcano,
	Richard Weinberger

Fixes:
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));
  ^
drivers/clocksource/sh_cmt.c:920:15: warning: assignment makes pointer from integer without a cast [enabled by default]
  cmt->mapbase = ioremap_nocache(mem->start, resource_size(mem));
               ^
drivers/clocksource/sh_cmt.c: In function ‘sh_cmt_setup’:
drivers/clocksource/sh_cmt.c:1034:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
  iounmap(cmt->mapbase);

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/clocksource/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 68161f7..c948f4e 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
-- 
1.8.4.5

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-03-30 19:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-16 21:27 [PATCH 1/6] clocksource/sh_cmt.c: Fix !HAS_IOMEM build Richard Weinberger
2015-03-16 21:27 ` [PATCH 2/6] clocksource/sh_mtu2.c: " Richard Weinberger
     [not found]   ` <1426541230-928-2-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>
2015-03-17  8:19     ` Geert Uytterhoeven
2015-03-20 14:04     ` Daniel Lezcano
2015-03-16 21:27 ` [PATCH 3/6] clocksource/sh_tmu.c: " Richard Weinberger
2015-03-17  8:19   ` Geert Uytterhoeven
2015-03-20 14:05   ` Daniel Lezcano
2015-03-16 21:27 ` [PATCH 4/6] power/reset/rmobile-reset.c: " Richard Weinberger
2015-03-17  8:19   ` Geert Uytterhoeven
2015-03-20 12:31   ` Sebastian Reichel
2015-03-16 21:27 ` [PATCH 5/6] mailbox/altera.c: " Richard Weinberger
2015-03-16 21:27 ` [PATCH 6/6] iio/adc/cc10001_adc.c: " Richard Weinberger
     [not found]   ` <1426541230-928-6-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>
2015-03-21 11:35     ` Jonathan Cameron
     [not found]       ` <550D5772.2010400-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-03-30 19:40         ` Jonathan Cameron
     [not found] ` <1426541230-928-1-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>
2015-03-17  8:18   ` [PATCH 1/6] clocksource/sh_cmt.c: " Geert Uytterhoeven
2015-03-20 14:05 ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).