of: *node argument to of_parse_phandle_with_args should be const
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 10 Dec 2012 19:41:30 +0000 (20:41 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 11 Dec 2012 17:30:16 +0000 (17:30 +0000)
commit93c667ca2598bd84f1bd3f2fa176af69707699fe
treef71861d55df741d0fee6232c7ae6d81744c42ed4
parent1daa8a0b2000974e07eacbabecd61bccadc933b9
of: *node argument to of_parse_phandle_with_args should be const

The "struct device_node *" argument of of_parse_phandle_with_args() can
be const. Making this change makes it explicit that the function will
not modify a node.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
[grant.likely: Resolved conflict with previous patch modifying of_parse_phandle()]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/base.c
include/linux/of.h