diff options
Diffstat (limited to 'drivers/net/sungem.c')
-rw-r--r-- | drivers/net/sungem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index 08ea61db46fe..bb07b79817f4 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c | |||
@@ -2914,7 +2914,7 @@ static int __devinit gem_get_device_address(struct gem *gp) | |||
2914 | int use_idprom = 1; | 2914 | int use_idprom = 1; |
2915 | 2915 | ||
2916 | if (pcp != NULL) { | 2916 | if (pcp != NULL) { |
2917 | unsigned char *addr; | 2917 | const unsigned char *addr; |
2918 | int len; | 2918 | int len; |
2919 | 2919 | ||
2920 | addr = of_get_property(pcp->prom_node, "local-mac-address", | 2920 | addr = of_get_property(pcp->prom_node, "local-mac-address", |