|
@@ -106,7 +106,7 @@ extern int of_address_to_resource(struct device_node *dev, int index,
|
|
|
struct resource *r);
|
|
|
void __iomem *of_iomap(struct device_node *node, int index);
|
|
|
void __iomem *of_io_request_and_map(struct device_node *device,
|
|
|
- int index, char *name);
|
|
|
+ int index, const char *name);
|
|
|
#else
|
|
|
|
|
|
#include <linux/io.h>
|
|
@@ -123,7 +123,7 @@ static inline void __iomem *of_iomap(struct device_node *device, int index)
|
|
|
}
|
|
|
|
|
|
static inline void __iomem *of_io_request_and_map(struct device_node *device,
|
|
|
- int index, char *name)
|
|
|
+ int index, const char *name)
|
|
|
{
|
|
|
return IOMEM_ERR_PTR(-EINVAL);
|
|
|
}
|