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 <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
Matthias Brugger 2014-10-21 18:27:25 +02:00 • committed by Grant Likely
commit b75b276bea
2 changed files with 3 additions and 3 deletions

View file

@ -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;