summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/clps711x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/clps711x.c')
-rw-r--r--drivers/clocksource/clps711x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/clps711x.c b/drivers/clocksource/clps711x.c
index d6ab695afa..e96924b750 100644
--- a/drivers/clocksource/clps711x.c
+++ b/drivers/clocksource/clps711x.c
@@ -29,7 +29,7 @@ static int clps711x_cs_probe(struct device_d *dev)
struct clk *timer_clk;
int id;
- id = of_alias_get_id(dev->device_node, "timer");
+ id = of_alias_get_id(dev->of_node, "timer");
if (id != 1)
return 0;