diff options
author | Olof Johansson <olof@lixom.net> | 2013-01-15 19:56:50 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-01-15 19:57:24 +0100 |
commit | 2ea0dde7653342d363144b17cb39932e27428e9a (patch) | |
tree | b4316bb625ef7f216713e0f1221bdfff8a113379 /drivers/clocksource/vt8500_timer.c | |
parent | Merge tag 'gic-vic-to-irqchip' of git://sources.calxeda.com/kernel/linux into... (diff) | |
parent | timer: vt8500: Convert vt8500 to use CLKSRC_OF (diff) | |
download | linux-2ea0dde7653342d363144b17cb39932e27428e9a.tar.xz linux-2ea0dde7653342d363144b17cb39932e27428e9a.zip |
Merge branch 'vt8500/timer' into next/cleanup
* vt8500/timer:
timer: vt8500: Convert vt8500 to use CLKSRC_OF
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/clocksource/vt8500_timer.c')
-rw-r--r-- | drivers/clocksource/vt8500_timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/vt8500_timer.c b/drivers/clocksource/vt8500_timer.c index ed66cf07d3c6..8efc86b5b5dd 100644 --- a/drivers/clocksource/vt8500_timer.c +++ b/drivers/clocksource/vt8500_timer.c @@ -134,7 +134,7 @@ static struct of_device_id vt8500_timer_ids[] = { { } }; -void __init vt8500_timer_init(void) +static void __init vt8500_timer_init(void) { struct device_node *np; int timer_irq; @@ -177,3 +177,4 @@ void __init vt8500_timer_init(void) 4, 0xf0000000); } +CLOCKSOURCE_OF_DECLARE(vt8500, "via,vt8500-timer", vt8500_timer_init) |