]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
clocksource/drivers/sun5i: Use of_io_request_and_map()
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 31 Mar 2015 10:12:24 +0000 (12:12 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 31 Mar 2015 15:53:58 +0000 (17:53 +0200)
commita45860d0ba433c217d359fa2cc2a4984d18ce263
treedb1bbbcb38fec3701d58cb070a74d6ef6cb9fc71
parent5673bc5a863bd4391eab5bb85277f0f1dd1dca50
clocksource/drivers/sun5i: Use of_io_request_and_map()

of_iomap doesn't do a request_mem_region() on the memory area
defined in the DT it maps. Switch to of_io_request_and_map() to
make sure we're the only users.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/1427796746-373-3-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/clocksource/timer-sun5i.c