summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorDavid Gibson <dgibson@sneetch.(none)>2007-06-13 14:18:10 +1000
committerDavid Gibson <dgibson@sneetch.(none)>2007-06-13 14:18:10 +1000
commita6c76f923dcc42102fac58375eaca28057811c20 (patch)
treef9df764f96002c2760e78685b24a060633cbfe4d /TODO
parent857f54e79f74429af20c2b5ecc00ee98af6a3b8b (diff)
downloaddevice-tree-compiler-a6c76f923dcc42102fac58375eaca28057811c20.tar.gz
libfdt: More thorough use of constification
As a read-only functions, which take a const pointer to the fdt, treat fdt_get_property() and fdt_getprop() as returning const pointers to within the blob. fdt_get_property_w() and fdt_getprop_w() versions are supplied which take a non-const fdt pointer and return a non-const pointer for the benefit of callers wishing to alter the device tree contents. Likewise the lower-level fdt_offset_ptr() and _fdt_offset_ptr() functions are changed to return const pointers, with *_w() versions supplied. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions