ARM: davinci: cp-intc: request the memory region before remapping it
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 14 Feb 2019 14:52:24 +0000 (15:52 +0100)
committerSekhar Nori <nsekhar@ti.com>
Tue, 19 Feb 2019 14:33:34 +0000 (20:03 +0530)
commit9cf58a45d72bdc88a3f77d6cd4ea76817a3c6392
tree3fc892ac669e4b5d84e2c552201206b2eb4cb0bb
parent6567954b8e8e7cbb74b1340038dcac7ecc9e2e1b
ARM: davinci: cp-intc: request the memory region before remapping it

Add a missing call to request_mem_region() before calling ioremap() to
make sure it's not been requested by another user.

Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/cp_intc.c