diff options
author | Mikael Pettersson <mikpe@it.uu.se> | 2009-09-11 00:59:07 +0200 |
---|---|---|
committer | Krzysztof Hałasa <khc@pm.waw.pl> | 2009-09-21 19:20:03 +0200 |
commit | ceb69a899f0819bce825083bd487c6afacc0d1b4 (patch) | |
tree | f0578705aa05260585bb083a9f536af70177a91d /arch/arm/mach-iop33x/include/mach/iq80332.h | |
parent | 43c1266ce4dc06bfd236cec31e11e9ecd69c0bef (diff) | |
download | op-kernel-dev-ceb69a899f0819bce825083bd487c6afacc0d1b4.zip op-kernel-dev-ceb69a899f0819bce825083bd487c6afacc0d1b4.tar.gz |
ixp4xx: timer and clocks cleanups
This patch does a few simple cleanups of the ixp4xx timer
and clocksource/clockevent code in mach-ixp4xx/common.c:
- ixp4xx_clocksource_init() is static and always returns 0,
which is ignored by its only caller: make it return void
- ixp4xx_clockevent_init(): ditto
- ixp4xx_get_cycles() is only referenced locally: make it static
- use the ixp4xx_timer_irq.dev_id field to pass &clockevent_ixp4xx
to ixp4xx_timer_interrupt() via its dev_id parameter, allowing
the code in ixp4xx_timer_interrupt() to be smaller and faster
Tested on an ixp420 machine (ds101).
Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'arch/arm/mach-iop33x/include/mach/iq80332.h')
0 files changed, 0 insertions, 0 deletions