| Anton Vorontsov | 3d64de9 | 2008-12-18 19:37:26 +0300 | [diff] [blame] | 1 | #ifndef __SYSDEV_SIMPLE_GPIO_H |
| 2 | #define __SYSDEV_SIMPLE_GPIO_H | ||||
| 3 | |||||
| 4 | #include <linux/errno.h> | ||||
| 5 | |||||
| 6 | #ifdef CONFIG_SIMPLE_GPIO | ||||
| 7 | extern void simple_gpiochip_init(const char *compatible); | ||||
| 8 | #else | ||||
| 9 | static inline void simple_gpiochip_init(const char *compatible) {} | ||||
| 10 | #endif /* CONFIG_SIMPLE_GPIO */ | ||||
| 11 | |||||
| 12 | #endif /* __SYSDEV_SIMPLE_GPIO_H */ | ||||