2006-06-27 00:40:19 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2006 OpenWrt.org
|
|
|
|
*
|
|
|
|
* This is free software, licensed under the GNU General Public License v2.
|
|
|
|
* See /LICENSE for more information.
|
|
|
|
*/
|
|
|
|
|
2005-12-25 14:18:55 +00:00
|
|
|
#ifndef __GPIO_H
|
|
|
|
#define __GPIO_H
|
|
|
|
|
2011-08-04 20:07:58 +00:00
|
|
|
#ifdef CONFIG_BCM47XX
|
2012-08-04 19:46:25 +00:00
|
|
|
#include <linux/gpio.h>
|
2005-12-25 14:18:55 +00:00
|
|
|
#else
|
2009-03-09 21:57:11 +00:00
|
|
|
#warning "Unsupported configuration."
|
|
|
|
|
2012-08-04 19:46:25 +00:00
|
|
|
#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)
|
2009-03-09 21:57:11 +00:00
|
|
|
|
2005-12-25 14:18:55 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __GPIO_H */
|