aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/mfgpt_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/mfgpt_32.c')
-rw-r--r--arch/x86/kernel/mfgpt_32.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/x86/kernel/mfgpt_32.c b/arch/x86/kernel/mfgpt_32.c
index 6f79061cf119..5cf3a839530c 100644
--- a/arch/x86/kernel/mfgpt_32.c
+++ b/arch/x86/kernel/mfgpt_32.c
@@ -43,12 +43,6 @@ static struct mfgpt_timer_t {
43#define MFGPT_HZ (32768 / MFGPT_DIVISOR) 43#define MFGPT_HZ (32768 / MFGPT_DIVISOR)
44#define MFGPT_PERIODIC (MFGPT_HZ / HZ) 44#define MFGPT_PERIODIC (MFGPT_HZ / HZ)
45 45
46#ifdef CONFIG_GEODE_MFGPT_TIMER
47static int __init mfgpt_timer_setup(void);
48#else
49#define mfgpt_timer_setup() (0)
50#endif
51
52/* Allow for disabling of MFGPTs */ 46/* Allow for disabling of MFGPTs */
53static int disable; 47static int disable;
54static int __init mfgpt_disable(char *s) 48static int __init mfgpt_disable(char *s)
@@ -314,7 +308,7 @@ static struct irqaction mfgptirq = {
314 .name = "mfgpt-timer" 308 .name = "mfgpt-timer"
315}; 309};
316 310
317static int __init mfgpt_timer_setup(void) 311int __init mfgpt_timer_setup(void)
318{ 312{
319 int timer, ret; 313 int timer, ret;
320 u16 val; 314 u16 val;