提交 b7a69129 编写于 作者: S Scott Wood 提交者: Paul Mackerras

[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: NScott Wood <scottwood@freescale.com>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 517e2263
......@@ -907,7 +907,7 @@ static int __init fs_enet_of_init(void)
struct fs_platform_info fs_enet_data;
const unsigned int *id;
const unsigned int *phy_addr;
void *mac_addr;
const void *mac_addr;
const phandle *ph;
const char *model;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册