diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-03-09 21:57:11 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-03-09 21:57:11 +0000 |
commit | 13a5bcb41bc946e458739d2ae338d8825a1ae352 (patch) | |
tree | 63b5a2077889354bda22da3817623231789a39e2 /package/switch/src/gpio.h | |
parent | 2efa8efb65174c8cf24f5f99a71771e5d0ae9bb6 (diff) | |
download | master-187ad058-13a5bcb41bc946e458739d2ae338d8825a1ae352.tar.gz master-187ad058-13a5bcb41bc946e458739d2ae338d8825a1ae352.tar.bz2 master-187ad058-13a5bcb41bc946e458739d2ae338d8825a1ae352.zip |
[package] allow kmod-switch to be used on brcm63xx (#4599)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14825 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/switch/src/gpio.h')
-rw-r--r-- | package/switch/src/gpio.h | 10 |
1 files changed, 9 insertions, 1 deletions
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 */ |