Skip to content
Snippets Groups Projects
Commit 71ae5f7a authored by Dirk Behme's avatar Dirk Behme Committed by Wolfgang Denk
Browse files

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: default avatarDirk Behme <dirk.behme@googlemail.com>
parent 30f305c9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment