summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/stdio.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-09-19 06:06:27 +0200
committerPaul Mackerras <paulus@samba.org>2006-09-20 07:09:48 +0200
commita4dc7ff08915a2035aa6d6decc53fa1deaa410bb (patch)
tree9b28af3a21f915e3fe8ed7ee163be1b1d2bfe8b0 /arch/powerpc/boot/stdio.c
parent[POWERPC] iseries: eliminate a couple of warnings (diff)
downloadlinux-a4dc7ff08915a2035aa6d6decc53fa1deaa410bb.tar.xz
linux-a4dc7ff08915a2035aa6d6decc53fa1deaa410bb.zip
[POWERPC] Define of_read_ulong helper
There are various places where we want to extract an unsigned long value from a device-tree property that can be 1 or 2 cells in length. This replaces some open-coded calculations, and one place where we assumed without checking that properties were the length we wanted, with a little of_read_ulong() helper. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/stdio.c')
0 files changed, 0 insertions, 0 deletions