diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 256969e1300c..45b4e018b5e0 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -10996,7 +10996,7 @@ static int __devinit tg3_get_macaddr_sparc(struct tg3 *tp) | |||
10996 | struct pcidev_cookie *pcp = pdev->sysdata; | 10996 | struct pcidev_cookie *pcp = pdev->sysdata; |
10997 | 10997 | ||
10998 | if (pcp != NULL) { | 10998 | if (pcp != NULL) { |
10999 | unsigned char *addr; | 10999 | const unsigned char *addr; |
11000 | int len; | 11000 | int len; |
11001 | 11001 | ||
11002 | addr = of_get_property(pcp->prom_node, "local-mac-address", | 11002 | addr = of_get_property(pcp->prom_node, "local-mac-address", |