diff options
author | Scott Wood <scottwood@freescale.com> | 2007-05-08 13:15:34 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-09 02:35:00 -0400 |
commit | b7a6912969af7586ade62667d6d1c7ecc534faa1 (patch) | |
tree | ecb639a37341f7b4b936f507957ca872c2c4fe63 | |
parent | 517e22638c282bb07c52a11f928961ed4822196b (diff) |
[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>
-rw-r--r-- | arch/powerpc/sysdev/fsl_soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index 8a123c71449f..cad175724359 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c | |||
@@ -907,7 +907,7 @@ static int __init fs_enet_of_init(void) | |||
907 | struct fs_platform_info fs_enet_data; | 907 | struct fs_platform_info fs_enet_data; |
908 | const unsigned int *id; | 908 | const unsigned int *id; |
909 | const unsigned int *phy_addr; | 909 | const unsigned int *phy_addr; |
910 | void *mac_addr; | 910 | const void *mac_addr; |
911 | const phandle *ph; | 911 | const phandle *ph; |
912 | const char *model; | 912 | const char *model; |
913 | 913 | ||