From: Richard Weinberger Date: Thu, 26 Mar 2015 09:27:06 +0000 (+0100) Subject: clocksource/drivers: Fix various !CONFIG_HAS_IOMEM build errors X-Git-Tag: omap-for-v4.1/fixes-rc1~253^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11bc26fe372fa6da81c82c68f755d2795838a640;p=pandora-kernel.git 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 Signed-off-by: Daniel Lezcano Acked-by: Geert Uytterhoeven 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 --- Reading git-diff-tree failed