aboutsummaryrefslogtreecommitdiffstats
path: root/package/switch/src/gpio.h
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-08-04 19:46:25 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-08-04 19:46:25 +0000
commit075899682416938171ad47cba21de5dceebcdb43 (patch)
treec4e4149807f66b206dcf5d8217bcbe0a04537502 /package/switch/src/gpio.h
parent3942aebedc26bccaba639ec281920faca363a6e9 (diff)
downloadupstream-075899682416938171ad47cba21de5dceebcdb43.tar.gz
upstream-075899682416938171ad47cba21de5dceebcdb43.tar.bz2
upstream-075899682416938171ad47cba21de5dceebcdb43.zip
brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
SVN-Revision: 32992
Diffstat (limited to 'package/switch/src/gpio.h')
-rw-r--r--package/switch/src/gpio.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/switch/src/gpio.h b/package/switch/src/gpio.h
index 90bafd39ed..cb734f7b1b 100644
--- a/package/switch/src/gpio.h
+++ b/package/switch/src/gpio.h
@@ -9,16 +9,16 @@
#define __GPIO_H
#ifdef CONFIG_BCM47XX
-#include "gpio-bcm947xx.h"
+#include <linux/gpio.h>
#else
#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)
+#define bcm47xx_gpio_in(mask) (-1U)
+#define bcm47xx_gpio_out(mask, value) (-1U)
+#define bcm47xx_gpio_outen(mask, value) (-1U)
+#define bcm47xx_gpio_control(mask, value) (-1U)
+#define bcm47xx_gpio_intmask(mask, value) (-1U)
+#define bcm47xx_gpio_polarity(mask, value) (-1U)
#endif