]> git.baikalelectronics.ru Git - kernel.git/commit
of: fdt: Constify 'pathp'
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 12 Nov 2012 20:30:49 +0000 (18:30 -0200)
committerRob Herring <rob.herring@calxeda.com>
Wed, 21 Nov 2012 04:57:40 +0000 (22:57 -0600)
commit67d3c58ecd75b9d14abcbace188128476f9aa533
tree8ec8928b36aff4599a51e30bbb15ca62036ae059
parente3262bf107360a01a17d08e7959ea490e6f4028d
of: fdt: Constify 'pathp'

Constify 'pathp' in order to get rid of the following warning:

drivers/of/fdt.c:491:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
[Rob Herring: also constify np and lp]
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
drivers/of/fdt.c