clocksource/drivers/arm_arch_timer: Map frame with of_io_request_and_map()
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 26 Oct 2016 07:35:50 +0000 (00:35 -0700)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 21 Nov 2016 10:15:29 +0000 (11:15 +0100)
commitf947ee147e0895d5c0ef18e81ca7a4e4219739e3
tree03d9b3e89b96308635a3020e32b12b6bc7190f38
parente6186820a74546ac201a6669ebbee42399583b8b
clocksource/drivers/arm_arch_timer: Map frame with of_io_request_and_map()

Let's use the of_io_request_and_map() API so that the frame
region is protected and shows up in /proc/iomem.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/clocksource/arm_arch_timer.c