packages: clean up the package folder
[openwrt.git] / package / kernel / switch / src / gpio.h
1 /*
2  * Copyright (C) 2006 OpenWrt.org
3  *
4  * This is free software, licensed under the GNU General Public License v2.
5  * See /LICENSE for more information.
6  */
7
8 #ifndef __GPIO_H
9 #define __GPIO_H
10
11 #ifdef CONFIG_BCM47XX
12 #include <linux/gpio.h>
13 #else
14 #warning "Unsupported configuration."
15
16 #define bcm47xx_gpio_in(mask)                   (-1U)
17 #define bcm47xx_gpio_out(mask, value)           (-1U)
18 #define bcm47xx_gpio_outen(mask, value)         (-1U)
19 #define bcm47xx_gpio_control(mask, value)       (-1U)
20 #define bcm47xx_gpio_intmask(mask, value)       (-1U)
21 #define bcm47xx_gpio_polarity(mask, value)      (-1U)
22
23 #endif
24
25 #endif /* __GPIO_H */