diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-12-19 10:50:09 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-12-20 09:45:03 -0800 |
commit | 2727da8595d6a134502ce576b812f0bb0e3c14ed (patch) | |
tree | db50dad15dcae9bb1d231f415728f2c06e717d4e /arch | |
parent | f438a830fa21b14efe973500f482e39f793456fa (diff) | |
download | linux-2727da8595d6a134502ce576b812f0bb0e3c14ed.tar.bz2 |
ARM: OMAP2+: Fix compillation error in mach-omap2/timer.c
prom_add_property() has been renamed to of_add_property()
This patch fixes the following comilation error:
arch/arm/mach-omap2/timer.c: In function ‘omap_get_timer_dt’:
arch/arm/mach-omap2/timer.c:178:3: error: implicit declaration of function ‘prom_add_property’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[1]: *** [arch/arm/mach-omap2/timer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 06e141543623..691aa674665a 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c @@ -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; } |