clocksource/drivers: Fix various !CONFIG_HAS_IOMEM build errors
authorRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 09:27:06 +0000 (10:27 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 26 Mar 2015 09:59:40 +0000 (10:59 +0100)
commit11bc26fe372fa6da81c82c68f755d2795838a640
treecdf4bfeeaf4bad6bcaa11dd682a1b929bd7cbedb
parenta127d2bcf1fbc8c8e0b5cf0dab54f7d3ff50ce47
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@nod.at>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: maxime.ripard@free-electrons.com
Link: http://lkml.kernel.org/r/1427362029-6511-1-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/clocksource/Kconfig