aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/arch-apollolake/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/arch-apollolake/gpio.h')
-rw-r--r--arch/x86/include/asm/arch-apollolake/gpio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/arch-apollolake/gpio.h b/arch/x86/include/asm/arch-apollolake/gpio.h
index 10879c168ec..ab5860c0fd0 100644
--- a/arch/x86/include/asm/arch-apollolake/gpio.h
+++ b/arch/x86/include/asm/arch-apollolake/gpio.h
@@ -482,4 +482,7 @@
#define GPIO_72_IRQ 0x65
#define GPIO_73_IRQ 0x66
+/* This is needed by ACPI */
+#define GPIO_NUM_PAD_CFG_REGS 2 /* DW0, DW1 */
+
#endif /* _ASM_ARCH_GPIO_H_ */