simple_gpio.h 354 B

12345678910111213
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __SYSDEV_SIMPLE_GPIO_H
  3. #define __SYSDEV_SIMPLE_GPIO_H
  4. #include <linux/errno.h>
  5. #ifdef CONFIG_SIMPLE_GPIO
  6. extern void simple_gpiochip_init(const char *compatible);
  7. #else
  8. static inline void simple_gpiochip_init(const char *compatible) {}
  9. #endif /* CONFIG_SIMPLE_GPIO */
  10. #endif /* __SYSDEV_SIMPLE_GPIO_H */