ARM: OMAP2+: Fix compillation error in mach-omap2/timer.c
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-omap2 / timer.c
index 06e141543623d46801f3cf7206d3e9879253f648..691aa674665a46cf4c8ce75c279443b82c5aff05 100644 (file)
@@ -175,7 +175,7 @@ static struct device_node * __init omap_get_timer_dt(struct of_device_id *match,
                        continue;
                }
 
-               prom_add_property(np, &device_disabled);
+               of_add_property(np, &device_disabled);
                return np;
        }