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:
parent
3b9334ac83
commit
29f9b6cf7b
2 changed files with 12 additions and 0 deletions
8
include/linux/platform_data/syscon.h
Normal file
8
include/linux/platform_data/syscon.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
#ifndef PLATFORM_DATA_SYSCON_H
|
||||
#define PLATFORM_DATA_SYSCON_H
|
||||
|
||||
struct syscon_platform_data {
|
||||
const char *label;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue