fdt: don't strip const qualifier
Fixes: warning: assignment discards 'const' qualifier from pointer target type Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
7413dc4258
commit
e91702bd61
|
@ -64,7 +64,7 @@ struct device_node *of_unflatten_dtb(const void *infdt)
|
|||
struct device_node *root, *node = NULL;
|
||||
struct property *p;
|
||||
uint32_t dt_struct;
|
||||
struct fdt_node_header *fnh;
|
||||
const struct fdt_node_header *fnh;
|
||||
void *dt_strings;
|
||||
struct fdt_header f;
|
||||
int ret;
|
||||
|
|
Loading…
Reference in New Issue