x86: fix HPET compiler error when not using CONFIG_PCI_MSI
authorSteven Noonan <steven@uplinklabs.net>
Mon, 8 Sep 2008 23:19:09 +0000 (16:19 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:53:09 +0000 (16:53 +0200)
Added dummy function for hpet_setup_msi_irq().

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/hpet.c

index 01005ae..422c577 100644 (file)
@@ -635,6 +635,10 @@ static int hpet_cpuhp_notify(struct notifier_block *n,
 }
 #else
 
+static int hpet_setup_msi_irq(unsigned int irq)
+{
+       return 0;
+}
 void hpet_msi_capability_lookup(unsigned int start_timer)
 {
        return;