From: Paul Mackerras Date: Tue, 19 Sep 2006 04:06:27 +0000 (+1000) Subject: [POWERPC] Define of_read_ulong helper X-Git-Tag: v2.6.19-rc1~1300^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4dc7ff08915a2035aa6d6decc53fa1deaa410bb;p=pandora-kernel.git [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 --- Reading git-diff-tree failed