* [PATCH] fsl_soc: Make mac_addr const in fs_enet_of_init().
@ 2007-05-08 17:15 Scott Wood
0 siblings, 0 replies; only message in thread
From: Scott Wood @ 2007-05-08 17:15 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
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>
---
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 8a123c7..cad1757 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)
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;
--
1.5.0.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-08 17:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-08 17:15 [PATCH] fsl_soc: Make mac_addr const in fs_enet_of_init() Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox