aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/simple_gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/sysdev/simple_gpio.h')
-rw-r--r--arch/powerpc/sysdev/simple_gpio.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/simple_gpio.h b/arch/powerpc/sysdev/simple_gpio.h
new file mode 100644
index 000000000000..3a7b0c513c76
--- /dev/null
+++ b/arch/powerpc/sysdev/simple_gpio.h
@@ -0,0 +1,12 @@
1#ifndef __SYSDEV_SIMPLE_GPIO_H
2#define __SYSDEV_SIMPLE_GPIO_H
3
4#include <linux/errno.h>
5
6#ifdef CONFIG_SIMPLE_GPIO
7extern void simple_gpiochip_init(const char *compatible);
8#else
9static inline void simple_gpiochip_init(const char *compatible) {}
10#endif /* CONFIG_SIMPLE_GPIO */
11
12#endif /* __SYSDEV_SIMPLE_GPIO_H */