diff options
author | Pawel Moll <pawel.moll@arm.com> | 2014-02-12 05:47:10 -0500 |
---|---|---|
committer | Pawel Moll <pawel.moll@arm.com> | 2014-05-15 12:02:19 -0400 |
commit | 29f9b6cf7bff6a118130163c848811e14f8022da (patch) | |
tree | 2338d5da72d937abc15a68ddb18465a1795407a5 /include/linux/platform_data | |
parent | 3b9334ac835bb431e2186645230c9f1eb94b5d49 (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')
-rw-r--r-- | include/linux/platform_data/syscon.h | 8 |
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 @@ | |||
1 | #ifndef PLATFORM_DATA_SYSCON_H | ||
2 | #define PLATFORM_DATA_SYSCON_H | ||
3 | |||
4 | struct syscon_platform_data { | ||
5 | const char *label; | ||
6 | }; | ||
7 | |||
8 | #endif | ||