aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sungem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sungem.c')
-rw-r--r--drivers/net/sungem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c
index 08ea61db46fe..6b1cd745af08 100644
--- a/drivers/net/sungem.c
+++ b/drivers/net/sungem.c
@@ -2929,7 +2929,7 @@ static int __devinit gem_get_device_address(struct gem *gp)
2929#elif defined(CONFIG_PPC_PMAC) 2929#elif defined(CONFIG_PPC_PMAC)
2930 const unsigned char *addr; 2930 const unsigned char *addr;
2931 2931
2932 addr = get_property(gp->of_node, "local-mac-address", NULL); 2932 addr = of_get_property(gp->of_node, "local-mac-address", NULL);
2933 if (addr == NULL) { 2933 if (addr == NULL) {
2934 printk("\n"); 2934 printk("\n");
2935 printk(KERN_ERR "%s: can't get mac-address\n", dev->name); 2935 printk(KERN_ERR "%s: can't get mac-address\n", dev->name);