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 5da73212ac91..432803855034 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c | |||
@@ -2903,7 +2903,7 @@ static int __devinit gem_get_device_address(struct gem *gp) | |||
2903 | struct net_device *dev = gp->dev; | 2903 | struct net_device *dev = gp->dev; |
2904 | const unsigned char *addr; | 2904 | const unsigned char *addr; |
2905 | 2905 | ||
2906 | addr = get_property(gp->of_node, "local-mac-address", NULL); | 2906 | addr = of_get_property(gp->of_node, "local-mac-address", NULL); |
2907 | if (addr == NULL) { | 2907 | if (addr == NULL) { |
2908 | #ifdef CONFIG_SPARC | 2908 | #ifdef CONFIG_SPARC |
2909 | addr = idprom->id_ethaddr; | 2909 | addr = idprom->id_ethaddr; |