X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Flinux%2Fof_address.h;h=d88e81be6368d2e2a07e34a8c0d28bbf9366a878;hb=0ea90b9e79cff66934119e6dd8fa8e9d0f7d005a;hp=8cb14eb393d6d178968cc2af6bbbffbc0bd0a1ff;hpb=3bcfca617a3a773a981d6dfe0b8e2a95e614c5b7;p=firefly-linux-kernel-4.4.55.git diff --git a/include/linux/of_address.h b/include/linux/of_address.h index 8cb14eb393d6..d88e81be6368 100644 --- a/include/linux/of_address.h +++ b/include/linux/of_address.h @@ -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 @@ -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); }