Explorar o código

ARM: OMAP: Fix define for twl4030 irqs

Otherwise twl4030 gpios won't work.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren %!s(int64=16) %!d(string=hai) anos
pai
achega
5c32f62b97
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/arm/plat-omap/include/mach/irqs.h

+ 1 - 1
arch/arm/plat-omap/include/mach/irqs.h

@@ -372,7 +372,7 @@
 
 
 /* External TWL4030 gpio interrupts are optional */
 /* External TWL4030 gpio interrupts are optional */
 #define TWL4030_GPIO_IRQ_BASE	TWL4030_PWR_IRQ_END
 #define TWL4030_GPIO_IRQ_BASE	TWL4030_PWR_IRQ_END
-#ifdef	CONFIG_TWL4030_GPIO
+#ifdef	CONFIG_GPIO_TWL4030
 #define TWL4030_GPIO_NR_IRQS	18
 #define TWL4030_GPIO_NR_IRQS	18
 #else
 #else
 #define	TWL4030_GPIO_NR_IRQS	0
 #define	TWL4030_GPIO_NR_IRQS	0