summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/syscon.h
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2014-02-12 10:47:10 +0000
committerPawel Moll <pawel.moll@arm.com>2014-05-15 17:02:19 +0100
commit29f9b6cf7bff6a118130163c848811e14f8022da (patch)
tree2338d5da72d937abc15a68ddb18465a1795407a5 /include/linux/platform_data/syscon.h
parent3b9334ac835bb431e2186645230c9f1eb94b5d49 (diff)
mfd: syscon: Add platform data with a regmap config name
Define syscon platform data structure that can be used to define a regmap config name. This is particularly useful in the regmap debugfs when there is more than one syscon device registered, to distinguish the register blocks. Signed-off-by: Pawel Moll <pawel.moll@arm.com> Acked-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/platform_data/syscon.h')
-rw-r--r--include/linux/platform_data/syscon.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/platform_data/syscon.h b/include/linux/platform_data/syscon.h
new file mode 100644
index 000000000000..2354c6fa3726
--- /dev/null
+++ b/include/linux/platform_data/syscon.h
@@ -0,0 +1,8 @@
+#ifndef PLATFORM_DATA_SYSCON_H
+#define PLATFORM_DATA_SYSCON_H
+
+struct syscon_platform_data {
+ const char *label;
+};
+
+#endif