blob: 827305d77b3ef675d7619883d5c6cca40b59fc69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef __ASMARM_ARCH_TIMER_H
#define __ASMARM_ARCH_TIMER_H
#include <linux/ioport.h>
struct arch_timer {
struct resource res[2];
};
#ifdef CONFIG_ARM_ARCH_TIMER
int arch_timer_register(struct arch_timer *);
#else
static inline int arch_timer_register(struct arch_timer *at)
{
return -ENXIO;
}
#endif
#endif
|