From: Steven Noonan Date: Mon, 8 Sep 2008 23:19:09 +0000 (-0700) Subject: x86: fix HPET compiler error when not using CONFIG_PCI_MSI X-Git-Tag: v2.6.28-rc1~80^2~45 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ba374c9baef910fbc5373541d98c50f15e82c3f8;p=linux-2.6-omap-h63xx.git x86: fix HPET compiler error when not using CONFIG_PCI_MSI Added dummy function for hpet_setup_msi_irq(). Signed-off-by: Steven Noonan Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c index 01005aeda7d..422c577ef69 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, } #else +static int hpet_setup_msi_irq(unsigned int irq) +{ + return 0; +} void hpet_msi_capability_lookup(unsigned int start_timer) { return;