diff options
Diffstat (limited to 'include/linux/gpio.h')
-rw-r--r-- | include/linux/gpio.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/gpio.h b/include/linux/gpio.h index 8ef7fc0ce0f0..91ed23468530 100644 --- a/include/linux/gpio.h +++ b/include/linux/gpio.h | |||
@@ -1,4 +1,14 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0 */ | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* | ||
3 | * <linux/gpio.h> | ||
4 | * | ||
5 | * This is the LEGACY GPIO bulk include file, including legacy APIs. It is | ||
6 | * used for GPIO drivers still referencing the global GPIO numberspace, | ||
7 | * and should not be included in new code. | ||
8 | * | ||
9 | * If you're implementing a GPIO driver, only include <linux/gpio/driver.h> | ||
10 | * If you're implementing a GPIO consumer, only include <linux/gpio/consumer.h> | ||
11 | */ | ||
2 | #ifndef __LINUX_GPIO_H | 12 | #ifndef __LINUX_GPIO_H |
3 | #define __LINUX_GPIO_H | 13 | #define __LINUX_GPIO_H |
4 | 14 | ||