[backfire] cleanup: remove refs to unsupported "iop32x" target
[openwrt-10.03/.git] / package / switch / src / gpio.h
index f4fadfc6407536a30958d2af2865576b416b4658..e541cdac55ca3950a1071cfb549614c850791ec8 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 */