summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2008-02-09 23:24:08 +0100
committerThomas Gleixner <tglx@linutronix.de>2008-02-09 23:24:08 +0100
commitf087515c658a68454d43909d482ea4b59e7d6d5c (patch)
treed9e2fad392174843bddb6e70932add8ad629113e /include
parentb0e6bf2571e9385335e6337bdedb85cb629ab3fb (diff)
downloadop-kernel-dev-f087515c658a68454d43909d482ea4b59e7d6d5c.zip
op-kernel-dev-f087515c658a68454d43909d482ea4b59e7d6d5c.tar.gz
x86: GEODE: MFGPT: Use "just-in-time" detection for the MFGPT timers
There isn't much value to always detecting the MFGPT timers on Geode platforms; detection is only needed when something wants to use the timers. Move the detection code so that it gets called the first time a timer is allocated. Signed-off-by: Jordan Crouse <jordan.crouse@amd.com> Signed-off-by: Andres Salomon <dilinger@debian.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/geode.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-x86/geode.h b/include/asm-x86/geode.h
index c136306..9e72800 100644
--- a/include/asm-x86/geode.h
+++ b/include/asm-x86/geode.h
@@ -206,7 +206,6 @@ static inline u16 geode_mfgpt_read(int timer, u16 reg)
return inw(base + reg + (timer * 8));
}
-extern int __init geode_mfgpt_detect(void);
extern int geode_mfgpt_toggle_event(int timer, int cmp, int event, int enable);
extern int geode_mfgpt_set_irq(int timer, int cmp, int irq, int enable);
extern int geode_mfgpt_alloc_timer(int timer, int domain);
OpenPOWER on IntegriCloud