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 6aef1e95d39a..9d07d2d5dfa6 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -10993,7 +10993,7 @@ static int __devinit tg3_get_macaddr_sparc(struct tg3 *tp) | |||
10993 | struct net_device *dev = tp->dev; | 10993 | struct net_device *dev = tp->dev; |
10994 | struct pci_dev *pdev = tp->pdev; | 10994 | struct pci_dev *pdev = tp->pdev; |
10995 | struct device_node *dp = pci_device_to_OF_node(pdev); | 10995 | struct device_node *dp = pci_device_to_OF_node(pdev); |
10996 | unsigned char *addr; | 10996 | const unsigned char *addr; |
10997 | int len; | 10997 | int len; |
10998 | 10998 | ||
10999 | addr = of_get_property(dp, "local-mac-address", &len); | 10999 | addr = of_get_property(dp, "local-mac-address", &len); |