]> git.dujemihanovic.xyz Git - u-boot.git/commit
Fix compiler warning in fdt_support.c
authorDirk Behme <dirk.behme@googlemail.com>
Sun, 21 Nov 2010 19:19:34 +0000 (20:19 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 28 Nov 2010 11:41:53 +0000 (12:41 +0100)
commit71ae5f7a3fde5958c116dc75097ca77faa947ac4
tree66fd665a7cdd4c21384e1a0f9644acb17c965b53
parent30f305c975eb530c7b04999d5f1f66664cbfb0d5
Fix compiler warning in fdt_support.c

Fix compiler warning

fdt_support.c: In function 'of_bus_default_count_cells':
fdt_support.c:957: warning: passing argument 1 of '__swab32p' discards qualifiers from pointer target type
fdt_support.c:965: warning: passing argument 1 of '__swab32p' discards qualifiers from pointer target type

be32_to_cpup() expects an 'u32 *' while prop is 'const u32 *'.

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
common/fdt_support.c