ARM: mvebu: improve PMSU driver to request its resource
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Apr 2014 13:50:30 +0000 (15:50 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 24 Apr 2014 05:24:03 +0000 (05:24 +0000)
commitbd045a1ebb48e5901508574188404d9bd3bdd72f
tree017de1c332aad7b1216b57777e746856fbbbcf04
parent49754ffef5dca1d212e5fea5957a2a164585e92c
ARM: mvebu: improve PMSU driver to request its resource

Until now, the PMSU driver was using of_iomap() to map its registers,
but of_iomap() doesn't call request_mem_region(). This commit fixes
the memory mapping code of the PMSU to do so, which will also be
useful for a later commit since we will need to adjust the resource
base address and size for Device Tree backward compatibility.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1397483433-25836-4-git-send-email-thomas.petazzoni@free-electrons.com
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/pmsu.c
This page took 0.02463 seconds and 5 git commands to generate.