summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/gpio-ath79.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/gpio-ath79.h')
-rw-r--r--include/linux/platform_data/gpio-ath79.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/platform_data/gpio-ath79.h b/include/linux/platform_data/gpio-ath79.h
new file mode 100644
index 000000000..3ea6dd942
--- /dev/null
+++ b/include/linux/platform_data/gpio-ath79.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * Atheros AR7XXX/AR9XXX GPIO controller platform data
+ *
+ * Copyright (C) 2015 Alban Bedel <albeu@free.fr>
+ */
+
+#ifndef __LINUX_PLATFORM_DATA_GPIO_ATH79_H
+#define __LINUX_PLATFORM_DATA_GPIO_ATH79_H
+
+struct ath79_gpio_platform_data {
+ unsigned ngpios;
+ bool oe_inverted;
+};
+
+#endif