From 04909ca614cb2b52dafe1f558743108d62a6db65 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 9 Mar 2009 21:57:11 +0000 Subject: allow kmod-switch to be used on brcm63xx (#4599) SVN-Revision: 14825 --- package/switch/src/gpio.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'package/switch/src/gpio.h') diff --git a/package/switch/src/gpio.h b/package/switch/src/gpio.h index f4fadfc640..e541cdac55 100644 --- a/package/switch/src/gpio.h +++ b/package/switch/src/gpio.h @@ -11,7 +11,15 @@ #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 */ -- cgit v1.2.3