|
@@ -54,14 +54,14 @@
|
|
|
/*
|
|
|
* external GPIO
|
|
|
*/
|
|
|
-#define GPIO_PCF8575_BASE (GPIO_NR)
|
|
|
-#define GPIO_PCF8575_PORT10 (GPIO_NR + 8)
|
|
|
-#define GPIO_PCF8575_PORT11 (GPIO_NR + 9)
|
|
|
-#define GPIO_PCF8575_PORT12 (GPIO_NR + 10)
|
|
|
-#define GPIO_PCF8575_PORT13 (GPIO_NR + 11)
|
|
|
-#define GPIO_PCF8575_PORT14 (GPIO_NR + 12)
|
|
|
-#define GPIO_PCF8575_PORT15 (GPIO_NR + 13)
|
|
|
-#define GPIO_PCF8575_PORT16 (GPIO_NR + 14)
|
|
|
+#define GPIO_PCF8575_BASE (310)
|
|
|
+#define GPIO_PCF8575_PORT10 (GPIO_PCF8575_BASE + 8)
|
|
|
+#define GPIO_PCF8575_PORT11 (GPIO_PCF8575_BASE + 9)
|
|
|
+#define GPIO_PCF8575_PORT12 (GPIO_PCF8575_BASE + 10)
|
|
|
+#define GPIO_PCF8575_PORT13 (GPIO_PCF8575_BASE + 11)
|
|
|
+#define GPIO_PCF8575_PORT14 (GPIO_PCF8575_BASE + 12)
|
|
|
+#define GPIO_PCF8575_PORT15 (GPIO_PCF8575_BASE + 13)
|
|
|
+#define GPIO_PCF8575_PORT16 (GPIO_PCF8575_BASE + 14)
|
|
|
|
|
|
/* Dummy supplies, where voltage doesn't matter */
|
|
|
static struct regulator_consumer_supply dummy_supplies[] = {
|