of: Provide a function to request and map memory
authorMatthias Brugger <matthias.bgg@gmail.com>
Fri, 18 Jul 2014 09:36:39 +0000 (11:36 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 23 Jul 2014 10:02:30 +0000 (12:02 +0200)
A call to of_iomap does not request the memory region. This patch adds the
function of_io_request_and_map which requests the memory region before
mapping it.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Suggested-by: Rob Herring <robh@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/of/address.c
include/linux/io.h
include/linux/of_address.h
lib/devres.c

Simple merge
Simple merge
Simple merge
diff --cc lib/devres.c
Simple merge