Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #ifndef __SYSDEV_SIMPLE_GPIO_H | ||||
3 | #define __SYSDEV_SIMPLE_GPIO_H | ||||
4 | |||||
5 | #include <linux/errno.h> | ||||
6 | |||||
7 | #ifdef CONFIG_SIMPLE_GPIO | ||||
8 | extern void simple_gpiochip_init(const char *compatible); | ||||
9 | #else | ||||
10 | static inline void simple_gpiochip_init(const char *compatible) {} | ||||
11 | #endif /* CONFIG_SIMPLE_GPIO */ | ||||
12 | |||||
13 | #endif /* __SYSDEV_SIMPLE_GPIO_H */ |