projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: GEODE: MFGPT: make mfgpt_timer_setup available outside of mfgpt_32.c
[cascardo/linux.git]
/
arch
/
x86
/
kernel
/
mfgpt_32.c
diff --git
a/arch/x86/kernel/mfgpt_32.c
b/arch/x86/kernel/mfgpt_32.c
index
6f79061
..
5cf3a83
100644
(file)
--- a/
arch/x86/kernel/mfgpt_32.c
+++ b/
arch/x86/kernel/mfgpt_32.c
@@
-43,12
+43,6
@@
static struct mfgpt_timer_t {
#define MFGPT_HZ (32768 / MFGPT_DIVISOR)
#define MFGPT_PERIODIC (MFGPT_HZ / HZ)
#define MFGPT_HZ (32768 / MFGPT_DIVISOR)
#define MFGPT_PERIODIC (MFGPT_HZ / HZ)
-#ifdef CONFIG_GEODE_MFGPT_TIMER
-static int __init mfgpt_timer_setup(void);
-#else
-#define mfgpt_timer_setup() (0)
-#endif
-
/* Allow for disabling of MFGPTs */
static int disable;
static int __init mfgpt_disable(char *s)
/* Allow for disabling of MFGPTs */
static int disable;
static int __init mfgpt_disable(char *s)
@@
-314,7
+308,7
@@
static struct irqaction mfgptirq = {
.name = "mfgpt-timer"
};
.name = "mfgpt-timer"
};
-
static
int __init mfgpt_timer_setup(void)
+int __init mfgpt_timer_setup(void)
{
int timer, ret;
u16 val;
{
int timer, ret;
u16 val;