]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
dt: add 'const' for of_property_read_string parameter **out_string
authorShawn Guo <shawn.guo@linaro.org>
Mon, 4 Jul 2011 01:01:18 +0000 (09:01 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 4 Jul 2011 05:47:22 +0000 (23:47 -0600)
commitf09bc831b7693f93ecb95dea7180d55b45b88e76
treed47c3408c86b147c77dd33e5295c7892ae8a9f7f
parenta3b853633d78c3930b513ee219df48637ac82eed
dt: add 'const' for of_property_read_string parameter **out_string

The existing dt codes usually call of_get_property to get a string
property and save it as a 'const char *'.  The patch adds'const' for
of_property_read_string parameter **out_string to make the converting
of existing code a little easier.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/base.c
include/linux/of.h