aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2012-11-20 10:15:19 +0530
committerRob Herring <[email protected]>2012-11-20 22:58:55 -0600
commitbe193249b4178158c0f697cb452b2bbf0cb16361 (patch)
tree4278eba967e625f0cdb6de865a83038243c51e80 /lib/memory-notifier-error-inject.c
parent9846210b1ec9bbaa30022d6d8af7e55ef67ccb45 (diff)
dt: add helper function to read u8 & u16 variables & arrays
This adds following helper routines: - of_property_read_u8_array() - of_property_read_u16_array() - of_property_read_u8() - of_property_read_u16() This expects arrays from DT to be passed as: - u8 array: property = /bits/ 8 <0x50 0x60 0x70>; - u16 array: property = /bits/ 16 <0x5000 0x6000 0x7000>; Signed-off-by: Viresh Kumar <[email protected]> Reviewed-by: Stephen Warren <[email protected]> Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions