summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorMatthias Brugger <matthias.bgg@gmail.com>2014-10-21 18:27:25 +0200
committerGrant Likely <grant.likely@linaro.org>2014-11-04 16:43:08 +0000
commitb75b276bead4850c86e60747babe09be5c13d4d1 (patch)
treec1aa6d922d03d67870238552251d2ce214cd150b /drivers/of
parent19fd74879a32fb10357e0cda9c8050f01bb3eeb8 (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>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/address.c b/drivers/of/address.c
index afdb78299f61..e02828fa3acd 100644
--- a/drivers/of/address.c
+++ b/drivers/of/address.c
@@ -871,7 +871,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;