diff options
author | Matthias Brugger <matthias.bgg@gmail.com> | 2014-10-21 18:27:25 +0200 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2015-12-16 15:09:13 +0800 |
commit | aee5ea184bfbade41bca92f5d3787a111fd8d1d8 (patch) | |
tree | 422b990d8383bacaf9e13052d760f2fc47889408 /drivers | |
parent | 7a541691cd294d48f0d92c61406b0a814ff14e85 (diff) |
of: Request and map make argument name constant
This patch makes the name argument from of_io_request_and_map constant.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
(cherry picked from commit b75b276bead4850c86e60747babe09be5c13d4d1)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/of/address.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/address.c b/drivers/of/address.c index 1dba1a9c1fcf..1244e6ac4aa8 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c @@ -889,7 +889,7 @@ EXPORT_SYMBOL(of_iomap); * return PTR_ERR(base); */ void __iomem *of_io_request_and_map(struct device_node *np, int index, - char *name) + const char *name) { struct resource res; void __iomem *mem; |