summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2936c7c)
raw | patch | inline | side by side (parent: 2936c7c)
author | Hauke Mehrtens <hauke@hauke-m.de> | |
Thu, 31 Mar 2011 16:21:34 +0000 (09:21 -0700) | ||
committer | Luis R. Rodriguez <lrodriguez@atheros.com> | |
Thu, 31 Mar 2011 19:15:41 +0000 (12:15 -0700) |
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>
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>
include/linux/compat-2.6.39.h | patch | blob | history |
index 2c62d90e89a4b5721d8d8b9b8b2fb23ebea6984f..104fce094fcd3d4b728a45973ad69eafc234ab9e 100644 (file)
{
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)) */