Something went wrong. Try again.
Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
1234567891011121314151617181920212223/* SPDX-License-Identifier: GPL-2.0 *//* * NOTE: This header *must not* be included. * * If you're implementing a GPIO driver, only include <linux/gpio/driver.h> * If you're implementing a GPIO consumer, only include <linux/gpio/consumer.h> * If you're using the legacy interfaces, include <linux/gpio/legacy.h> */
#ifndef __LINUX_GPIO_H#define __LINUX_GPIO_H
#include <linux/types.h>#ifdef CONFIG_GPIOLIB#include <linux/gpio/consumer.h>#endif
#ifdef CONFIG_GPIOLIB_LEGACY#include <linux/gpio/legacy.h>#endif /* CONFIG_GPIOLIB_LEGACY */
#endif /* __LINUX_GPIO_H */