summaryrefslogtreecommitdiff
path: root/drivers/of/device.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@linaro.org>2013-08-29 16:30:35 +0400
committerGrant Likely <grant.likely@linaro.org>2013-08-30 14:34:34 +0400
commit4485681939b99d80893e2016ebb9d44e1c414561 (patch)
treeea98248fc30bc75fdf146990828587b369e59342 /drivers/of/device.c
parent92d31610aac907c046f0e9c0f888c30415f20936 (diff)
downloadlinux-4485681939b99d80893e2016ebb9d44e1c414561.tar.xz
of/fdt: Clean up casting in unflattening path
The flat tree unflatting path is using unsigned longs to carry around virtual address pointers to the device tree and the allocated memory used to unpack it. This is a little insane since every access to them needs to be cast to a pointer type before using it. This patch changes the data type to void* for the 'start' and 'mem' pointers and reworks the unflattening functions to use those values directly which results in slightly simpler code. Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of/device.c')
0 files changed, 0 insertions, 0 deletions