mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 10:14:23 +08:00
a38b1f60b5
As clocksource pxa_timer was moved to clocksource framework, the pxa_timer initialization needs to be a bit amended, to pass the necessary informations to clocksource, ie : - the timer interrupt (mach specific) - the timer registers base (ditto) - the timer clockrate Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
19 lines
480 B
C
19 lines
480 B
C
/*
|
|
* PXA clocksource, clockevents, and OST interrupt handlers.
|
|
*
|
|
* Copyright (C) 2014 Robert Jarzmik
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
*/
|
|
|
|
#ifndef _CLOCKSOURCE_PXA_H
|
|
#define _CLOCKSOURCE_PXA_H
|
|
|
|
extern void pxa_timer_nodt_init(int irq, void __iomem *base,
|
|
unsigned long clock_tick_rate);
|
|
|
|
#endif
|