diff options
Diffstat (limited to 'include/asm-x86/geode.h')
-rw-r--r-- | include/asm-x86/geode.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/asm-x86/geode.h b/include/asm-x86/geode.h index 811fe14f70b2..9e7280092a48 100644 --- a/include/asm-x86/geode.h +++ b/include/asm-x86/geode.h | |||
@@ -206,12 +206,17 @@ static inline u16 geode_mfgpt_read(int timer, u16 reg) | |||
206 | return inw(base + reg + (timer * 8)); | 206 | return inw(base + reg + (timer * 8)); |
207 | } | 207 | } |
208 | 208 | ||
209 | extern int __init geode_mfgpt_detect(void); | ||
210 | extern int geode_mfgpt_toggle_event(int timer, int cmp, int event, int enable); | 209 | extern int geode_mfgpt_toggle_event(int timer, int cmp, int event, int enable); |
211 | extern int geode_mfgpt_set_irq(int timer, int cmp, int irq, int enable); | 210 | extern int geode_mfgpt_set_irq(int timer, int cmp, int irq, int enable); |
212 | extern int geode_mfgpt_alloc_timer(int timer, int domain, struct module *owner); | 211 | extern int geode_mfgpt_alloc_timer(int timer, int domain); |
213 | 212 | ||
214 | #define geode_mfgpt_setup_irq(t, c, i) geode_mfgpt_set_irq((t), (c), (i), 1) | 213 | #define geode_mfgpt_setup_irq(t, c, i) geode_mfgpt_set_irq((t), (c), (i), 1) |
215 | #define geode_mfgpt_release_irq(t, c, i) geode_mfgpt_set_irq((t), (c), (i), 0) | 214 | #define geode_mfgpt_release_irq(t, c, i) geode_mfgpt_set_irq((t), (c), (i), 0) |
216 | 215 | ||
216 | #ifdef CONFIG_GEODE_MFGPT_TIMER | ||
217 | extern int __init mfgpt_timer_setup(void); | ||
218 | #else | ||
219 | static inline int mfgpt_timer_setup(void) { return 0; } | ||
220 | #endif | ||
221 | |||
217 | #endif | 222 | #endif |