]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 01005aeda7d914d3c0f75f8e747b21b2230d9e30..422c577ef6911b00153161c471cb642b1bdc4fa2 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;