gpio.h 616 B

123456789101112131415161718192021222324
  1. /*
  2. * arch/arm/plat-spear/include/plat/gpio.h
  3. *
  4. * GPIO macros for SPEAr platform
  5. *
  6. * Copyright (C) 2009 ST Microelectronics
  7. * Viresh Kumar<viresh.kumar@st.com>
  8. *
  9. * This file is licensed under the terms of the GNU General Public
  10. * License version 2. This program is licensed "as is" without any
  11. * warranty of any kind, whether express or implied.
  12. */
  13. #ifndef __PLAT_GPIO_H
  14. #define __PLAT_GPIO_H
  15. #include <asm-generic/gpio.h>
  16. #define gpio_get_value __gpio_get_value
  17. #define gpio_set_value __gpio_set_value
  18. #define gpio_cansleep __gpio_cansleep
  19. #define gpio_to_irq __gpio_to_irq
  20. #endif /* __PLAT_GPIO_H */