diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-07-08 10:27:33 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-07-08 20:52:33 +0200 |
commit | b98c0239204d6603b3a33bcc2b3916adaa8d4160 (patch) | |
tree | db2c9e80e5c98dcf71c5345198fe55a938628b96 /drivers/tty/serial/of_serial.c | |
parent | dt: bindings: move SEC node under new crypto/ (diff) | |
download | linux-b98c0239204d6603b3a33bcc2b3916adaa8d4160.tar.xz linux-b98c0239204d6603b3a33bcc2b3916adaa8d4160.zip |
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>
Diffstat (limited to 'drivers/tty/serial/of_serial.c')
0 files changed, 0 insertions, 0 deletions