[POWERPC] fsl_soc: Make mac_addr const in fs_enet_of_init().
of_get_mac_address() returns a const pointer, so the result should be stored in a const pointer. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Родитель
517e22638c
Коммит
b7a6912969
|
@ -907,7 +907,7 @@ static int __init fs_enet_of_init(void)
|
||||||
struct fs_platform_info fs_enet_data;
|
struct fs_platform_info fs_enet_data;
|
||||||
const unsigned int *id;
|
const unsigned int *id;
|
||||||
const unsigned int *phy_addr;
|
const unsigned int *phy_addr;
|
||||||
void *mac_addr;
|
const void *mac_addr;
|
||||||
const phandle *ph;
|
const phandle *ph;
|
||||||
const char *model;
|
const char *model;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче