summaryrefslogtreecommitdiffstats
path: root/arch/mips/mach-ath79/art.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mach-ath79/art.c')
-rw-r--r--arch/mips/mach-ath79/art.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mach-ath79/art.c b/arch/mips/mach-ath79/art.c
index d119ca6d1a..de9f638e1c 100644
--- a/arch/mips/mach-ath79/art.c
+++ b/arch/mips/mach-ath79/art.c
@@ -20,7 +20,7 @@ struct ar9300_eeprom {
static int art_set_mac(struct device_d *dev, struct ar9300_eeprom *eeprom)
{
- struct device_node *node = dev->device_node;
+ struct device_node *node = dev->of_node;
struct device_node *rnode;
if (!node)
@@ -80,7 +80,7 @@ static int art_probe(struct device_d *dev)
dev_dbg(dev, "found ART partition\n");
- ret = of_find_path(dev->device_node, "device-path", &path, 0);
+ ret = of_find_path(dev->of_node, "device-path", &path, 0);
if (ret) {
dev_err(dev, "can't find path\n");
return ret;