aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/spider_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/spider_net.c')
-rw-r--r--drivers/net/spider_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c
index 698476154d81..3b91af89e4c7 100644
--- a/drivers/net/spider_net.c
+++ b/drivers/net/spider_net.c
@@ -1831,7 +1831,7 @@ try_host_fw:
1831 if (!dn) 1831 if (!dn)
1832 goto out_err; 1832 goto out_err;
1833 1833
1834 fw_prop = of_get_property(dn, "firmware", &fw_size); 1834 fw_prop = get_property(dn, "firmware", &fw_size);
1835 if (!fw_prop) 1835 if (!fw_prop)
1836 goto out_err; 1836 goto out_err;
1837 1837
@@ -2237,7 +2237,7 @@ spider_net_setup_netdev(struct spider_net_card *card)
2237 if (!dn) 2237 if (!dn)
2238 return -EIO; 2238 return -EIO;
2239 2239
2240 mac = of_get_property(dn, "local-mac-address", NULL); 2240 mac = get_property(dn, "local-mac-address", NULL);
2241 if (!mac) 2241 if (!mac)
2242 return -EIO; 2242 return -EIO;
2243 memcpy(addr.sa_data, mac, ETH_ALEN); 2243 memcpy(addr.sa_data, mac, ETH_ALEN);