Loading...
Note: File does not exist in v6.13.7.
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ARCH_ARM_GPIO_H
3#define _ARCH_ARM_GPIO_H
4
5#include <asm-generic/gpio.h>
6
7/* The trivial gpiolib dispatchers */
8#define gpio_get_value __gpio_get_value
9#define gpio_set_value __gpio_set_value
10#define gpio_cansleep __gpio_cansleep
11
12/*
13 * Provide a default gpio_to_irq() which should satisfy every case.
14 * However, some platforms want to do this differently, so allow them
15 * to override it.
16 */
17#ifndef gpio_to_irq
18#define gpio_to_irq __gpio_to_irq
19#endif
20
21#endif /* _ARCH_ARM_GPIO_H */