[package] allow kmod-switch to be used on brcm63xx (#4599)
[openwrt/svn-archive/archive.git] / package / 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 BROADCOM
12 #include "gpio-bcm947xx.h"
13 #else
14 #warning "Unsupported configuration."
15
16 #define gpio_in() (-1U)
17 #define gpio_out(mask, value) (-1U)
18 #define gpio_outen(mask, value) (-1U)
19 #define gpio_control(mask, value) (-1U)
20 #define gpio_intmask(mask, value) (-1U)
21 #define gpio_intpolarity(mask, value) (-1U)
22
23 #endif
24
25 #endif /* __GPIO_H */