aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/hpet.c
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2008-09-08 19:19:09 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:53:09 -0400
commitba374c9baef910fbc5373541d98c50f15e82c3f8 (patch)
tree4598ba8f8838c38f35bdf6cb34028c862dc3499a /arch/x86/kernel/hpet.c
parentf0ed4e695faf6766927c8cfbda2bc7530c7210c2 (diff)
x86: fix HPET compiler error when not using CONFIG_PCI_MSI
Added dummy function for hpet_setup_msi_irq(). Signed-off-by: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/hpet.c')
-rw-r--r--arch/x86/kernel/hpet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c
index 01005aeda7d9..422c577ef691 100644
--- a/arch/x86/kernel/hpet.c
+++ b/arch/x86/kernel/hpet.c
@@ -635,6 +635,10 @@ static int hpet_cpuhp_notify(struct notifier_block *n,
635} 635}
636#else 636#else
637 637
638static int hpet_setup_msi_irq(unsigned int irq)
639{
640 return 0;
641}
638void hpet_msi_capability_lookup(unsigned int start_timer) 642void hpet_msi_capability_lookup(unsigned int start_timer)
639{ 643{
640 return; 644 return;