backports: rename irq_get_trigger_type()
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Jun 2014 18:32:57 +0000 (20:32 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Jun 2014 18:35:01 +0000 (20:35 +0200)
This should avoid possible name conflicts.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/irq.h

index 8b2804d6a73ed53f00f027513a309dccb2a81fa4..1738e9b8967b6147bc3a4fde4b45b9b1b4554749 100644 (file)
@@ -3,6 +3,7 @@
 #include_next <linux/irq.h>
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
+#define irq_get_trigger_type LINUX_BACKPORT(irq_get_trigger_type)
 static inline u32 irq_get_trigger_type(unsigned int irq)
 {
        struct irq_data *d = irq_get_irq_data(irq);