summaryrefslogtreecommitdiffstats
path: root/include/mfd/syscon.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mfd/syscon.h')
-rw-r--r--include/mfd/syscon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mfd/syscon.h b/include/mfd/syscon.h
index 63b893e4ae..902f9fa2f3 100644
--- a/include/mfd/syscon.h
+++ b/include/mfd/syscon.h
@@ -21,6 +21,7 @@ void __iomem *syscon_base_lookup_by_pdevname(const char *s);
void __iomem *syscon_base_lookup_by_phandle
(struct device_node *np, const char *property);
struct regmap *syscon_node_to_regmap(struct device_node *np);
+struct regmap *syscon_regmap_lookup_by_compatible(const char *s);
#else
static inline void __iomem *syscon_base_lookup_by_pdevname(const char *s)
{
@@ -37,6 +38,10 @@ static inline struct regmap *syscon_node_to_regmap(struct device_node *np)
{
return ERR_PTR(-ENOSYS);
}
+static inline struct regmap *syscon_regmap_lookup_by_compatible(const char *s)
+{
+ return ERR_PTR(-ENOSYS);
+}
#endif
#endif