gpio.h 545 B

12345678910111213141516171819202122232425
  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. #ifndef __GPIO_H
  8. #define __GPIO_H
  9. #ifdef CONFIG_BCM47XX
  10. #include "gpio-bcm947xx.h"
  11. #else
  12. #warning "Unsupported configuration."
  13. #define gpio_in() (-1U)
  14. #define gpio_out(mask, value) (-1U)
  15. #define gpio_outen(mask, value) (-1U)
  16. #define gpio_control(mask, value) (-1U)
  17. #define gpio_intmask(mask, value) (-1U)
  18. #define gpio_intpolarity(mask, value) (-1U)
  19. #endif
  20. #endif /* __GPIO_H */