Commit:     b7a6912969af7586ade62667d6d1c7ecc534faa1
Parent:     517e22638c282bb07c52a11f928961ed4822196b
Author:     Scott Wood <[EMAIL PROTECTED]>
AuthorDate: Wed May 9 03:15:34 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Wed May 9 16:35:00 2007 +1000

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 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;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to