summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/mach-x3proto/mach/hardware.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/mach-x3proto/mach/hardware.h')
-rw-r--r--arch/sh/include/mach-x3proto/mach/hardware.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/sh/include/mach-x3proto/mach/hardware.h b/arch/sh/include/mach-x3proto/mach/hardware.h
new file mode 100644
index 000000000..57ea4a5cc
--- /dev/null
+++ b/arch/sh/include/mach-x3proto/mach/hardware.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __MACH_X3PROTO_HARDWARE_H
+#define __MACH_X3PROTO_HARDWARE_H
+
+struct gpio_chip;
+
+/* arch/sh/boards/mach-x3proto/gpio.c */
+int x3proto_gpio_setup(void);
+extern struct gpio_chip x3proto_gpio_chip;
+
+#define NR_BASEBOARD_GPIOS 16
+
+#endif /* __MACH_X3PROTO_HARDWARE_H */