[package] allow kmod-switch to be used on brcm63xx (#4599)
[openwrt.git] / package / switch / src / gpio.h
index f4fadfc..e541cda 100644 (file)
 #ifdef BROADCOM
 #include "gpio-bcm947xx.h"
 #else
-#error "Unsupported configuration."
+#warning "Unsupported configuration."
+
+#define gpio_in()                      (-1U)
+#define gpio_out(mask, value)          (-1U)
+#define gpio_outen(mask, value)                (-1U)
+#define gpio_control(mask, value)      (-1U)
+#define gpio_intmask(mask, value)      (-1U)
+#define gpio_intpolarity(mask, value)  (-1U)
+
 #endif
 
 #endif /* __GPIO_H */
This page took 0.019391 seconds and 4 git commands to generate.