Eliminate pointless casts from void* in a few driver irq handlers.
[firefly-linux-kernel-4.4.55.git] / drivers / net / smc911x.h
index 962a710459fc6ee111d75c1a2f77ba202f772a37..16a0edc078fd370b7995d98cbe331aff8cc26785 100644 (file)
   #define SMC_USE_PXA_DMA      1
   #define SMC_USE_16BIT                0
   #define SMC_USE_32BIT                1
+  #define SMC_IRQ_SENSE                IRQF_TRIGGER_FALLING
+#elif CONFIG_SH_MAGIC_PANEL_R2
+  #define SMC_USE_SH_DMA       0
+  #define SMC_USE_16BIT                0
+  #define SMC_USE_32BIT                1
+  #define SMC_IRQ_SENSE                IRQF_TRIGGER_LOW
 #endif