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>
This commit is contained in:
Pawel Moll 2014-02-12 10:47:10 +00:00
parent 3b9334ac83
commit 29f9b6cf7b
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#ifndef PLATFORM_DATA_SYSCON_H
#define PLATFORM_DATA_SYSCON_H
struct syscon_platform_data {
const char *label;
};
#endif