![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _ARCH_ARM_GPIO_H 0003 #define _ARCH_ARM_GPIO_H 0004 0005 /* Note: this may rely upon the value of ARCH_NR_GPIOS set in mach/gpio.h */ 0006 #include <asm-generic/gpio.h> 0007 0008 /* The trivial gpiolib dispatchers */ 0009 #define gpio_get_value __gpio_get_value 0010 #define gpio_set_value __gpio_set_value 0011 #define gpio_cansleep __gpio_cansleep 0012 0013 /* 0014 * Provide a default gpio_to_irq() which should satisfy every case. 0015 * However, some platforms want to do this differently, so allow them 0016 * to override it. 0017 */ 0018 #ifndef gpio_to_irq 0019 #define gpio_to_irq __gpio_to_irq 0020 #endif 0021 0022 #endif /* _ARCH_ARM_GPIO_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |