mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32992 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user