dt: add empty of_property_read_u32[_array] for non-dt
authorShawn Guo <shawn.guo@linaro.org>
Fri, 8 Jul 2011 08:27:33 +0000 (16:27 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 8 Jul 2011 18:52:33 +0000 (12:52 -0600)
commitb98c0239204d6603b3a33bcc2b3916adaa8d4160
treedb2c9e80e5c98dcf71c5345198fe55a938628b96
parent5a9ebe959967b7d3579de2a53d5df470fe0c7f22
dt: add empty of_property_read_u32[_array] for non-dt

The patch adds empty functions of_property_read_u32 and
of_property_read_u32_array for non-dt build, so that drivers
migrating to dt can save some '#ifdef CONFIG_OF'.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
[grant.likely: Moved things around so only one new static inline is needed]
[grant.likely: Added _string variant]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
include/linux/of.h