Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7a69129 authored by Scott Wood's avatar Scott Wood Committed by Paul Mackerras
Browse files

[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: default avatarScott Wood <scottwood@freescale.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 517e2263
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;