get_irq_desc_chip(), get_irq_desc_data(), get_irq_desc_chip_data() and
get_irq_desc_msi() are not available in kernel < 2.6.29.
Luis please add this into the linux-2.6.39.y branch.
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
{
set_irq_probe(irq);
}
+
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc)
{
return get_irq_desc_chip(desc);
{
return get_irq_desc_msi(desc);
}
+#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)) */
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,39)) */