projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
517e226
)
[POWERPC] fsl_soc: Make mac_addr const in fs_enet_of_init().
author
Scott Wood
<scottwood@freescale.com>
Tue, 8 May 2007 17:15:34 +0000
(
03:15
+1000)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 9 May 2007 06:35:00 +0000
(16:35 +1000)
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>
arch/powerpc/sysdev/fsl_soc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/sysdev/fsl_soc.c
b/arch/powerpc/sysdev/fsl_soc.c
index 8a123c71449fffd9315b085158f0e1a8d6f5795a..cad175724359df4099a84b00c4af154cbd2362a5 100644
(file)
--- 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;