set_irq_probe() and set_irq_probe() are missing on Linux 2.6.24, so the
code won't compile. compat-wireless doesn't need those functions. Keep
the functions for Linux 2.6.25 and newer for other compat packages.
{
return get_irq_msi(irq);
}
+
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25))
static inline void irq_set_noprobe(unsigned int irq)
{
set_irq_noprobe(irq);
{
set_irq_probe(irq);
}
+#endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc)