diff options
author | Lee Jones <lee@kernel.org> | 2024-07-04 17:07:34 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-07-04 17:07:34 +0100 |
commit | f1c6a7e0f07f54718f8cbf9f30ecd2cca9df7334 (patch) | |
tree | afe9e53e162c3cf00fb7352cc05cccb494d466f8 /include/linux/mfd | |
parent | 2a2ca717cee531788a0e0cbbe71bd0fea5038ff1 (diff) | |
parent | 35d6b98c625867209bc47df99cf03edf4280799f (diff) |
Merge branch 'ib-mfd-soc-samsung-6.11' into ibs-for-mfd-merged
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/syscon.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/mfd/syscon.h b/include/linux/mfd/syscon.h index c315903f6dab..aad9c6b50463 100644 --- a/include/linux/mfd/syscon.h +++ b/include/linux/mfd/syscon.h @@ -28,6 +28,8 @@ struct regmap *syscon_regmap_lookup_by_phandle_args(struct device_node *np, unsigned int *out_args); struct regmap *syscon_regmap_lookup_by_phandle_optional(struct device_node *np, const char *property); +int of_syscon_register_regmap(struct device_node *np, + struct regmap *regmap); #else static inline struct regmap *device_node_to_regmap(struct device_node *np) { @@ -67,6 +69,12 @@ static inline struct regmap *syscon_regmap_lookup_by_phandle_optional( return NULL; } +static inline int of_syscon_register_regmap(struct device_node *np, + struct regmap *regmap) +{ + return -EOPNOTSUPP; +} + #endif #endif /* __LINUX_MFD_SYSCON_H__ */ |