OSHW-DEIMOS/SOFTWARE/A64-TERES/linux-a64/arch/powerpc/sysdev/simple_gpio.h
Dimitar Gamishev f9b0e7a283 linux
2017-10-13 14:07:04 +03:00

13 lines
315 B
C

#ifndef __SYSDEV_SIMPLE_GPIO_H
#define __SYSDEV_SIMPLE_GPIO_H
#include <linux/errno.h>
#ifdef CONFIG_SIMPLE_GPIO
extern void simple_gpiochip_init(const char *compatible);
#else
static inline void simple_gpiochip_init(const char *compatible) {}
#endif /* CONFIG_SIMPLE_GPIO */
#endif /* __SYSDEV_SIMPLE_GPIO_H */