summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/hardware/iop3xx-gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/hardware/iop3xx-gpio.h')
-rw-r--r--arch/arm/include/asm/hardware/iop3xx-gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hardware/iop3xx-gpio.h b/arch/arm/include/asm/hardware/iop3xx-gpio.h
index b69d972b1f7..9eda7dc92ad 100644
--- a/arch/arm/include/asm/hardware/iop3xx-gpio.h
+++ b/arch/arm/include/asm/hardware/iop3xx-gpio.h
@@ -28,6 +28,8 @@
#include <mach/hardware.h>
#include <asm-generic/gpio.h>
+#define __ARM_GPIOLIB_COMPLEX
+
#define IOP3XX_N_GPIOS 8
static inline int gpio_get_value(unsigned gpio)