aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/hpet.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-09-28 16:18:39 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-10-12 16:53:37 +0200
commitd0fbca8f9304d1760fdc906b35b06e89fbdbb51f (patch)
tree4f831294a9cd4d2f46298c45fccfc57a942f04f0 /arch/x86/include/asm/hpet.h
parentx86: ioapic: Convert mask to new irq_chip function (diff)
downloadlinux-dev-d0fbca8f9304d1760fdc906b35b06e89fbdbb51f.tar.xz
linux-dev-d0fbca8f9304d1760fdc906b35b06e89fbdbb51f.zip
x86: ioapic/hpet: Convert to new chip functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/hpet.h')
-rw-r--r--arch/x86/include/asm/hpet.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/x86/include/asm/hpet.h b/arch/x86/include/asm/hpet.h
index 1d5c08a1bdfd..2c392d663dce 100644
--- a/arch/x86/include/asm/hpet.h
+++ b/arch/x86/include/asm/hpet.h
@@ -74,10 +74,12 @@ extern void hpet_disable(void);
extern unsigned int hpet_readl(unsigned int a);
extern void force_hpet_resume(void);
-extern void hpet_msi_unmask(unsigned int irq);
-extern void hpet_msi_mask(unsigned int irq);
-extern void hpet_msi_write(unsigned int irq, struct msi_msg *msg);
-extern void hpet_msi_read(unsigned int irq, struct msi_msg *msg);
+struct irq_data;
+extern void hpet_msi_unmask(struct irq_data *data);
+extern void hpet_msi_mask(struct irq_data *data);
+struct hpet_dev;
+extern void hpet_msi_write(struct hpet_dev *hdev, struct msi_msg *msg);
+extern void hpet_msi_read(struct hpet_dev *hdev, struct msi_msg *msg);
#ifdef CONFIG_PCI_MSI
extern int arch_setup_hpet_msi(unsigned int irq, unsigned int id);