]> git.karo-electronics.de Git - linux-beck.git/commit
dt: add helper function to read u32 arrays
authorRob Herring <rob.herring@calxeda.com>
Wed, 6 Jul 2011 20:42:58 +0000 (15:42 -0500)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 6 Jul 2011 20:58:09 +0000 (14:58 -0600)
commit0e373639ad7c7ef2b0c9cf907574b266791b9778
tree2600fab3cee4360311a3e0784aa2498dc9cceb6a
parentb84e773119e1401e6ebd8906fb0b2a43bbe64871
dt: add helper function to read u32 arrays

Rework of_property_read_u32 to read an array of values. Then
of_property_read_u32 becomes an inline with array size of 1.

Also make struct device_node ptr const.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/base.c
include/linux/of.h