summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/simple_gpio.h
blob: 3a7b0c513c7670ee0f1a155e759fdc3bcf307856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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 */
OpenPOWER on IntegriCloud