Skip to content

Commit 2d283f7

Browse files
committed
mfd: syscon: fix device_syscon_regmap_lookup_by_property build error
fix build error which found on sw8a Fixes: d76abc6 ("syscon: Add ACPI support for syscon") Reported-by: wenlunpeng <wenlunpeng@uniontech.com> Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent d0263be commit 2d283f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/mfd/syscon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static inline int of_syscon_register_regmap(struct device_node *np,
7979
return -EOPNOTSUPP;
8080
}
8181

82-
extern struct regmap
82+
static inline struct regmap
8383
*device_syscon_regmap_lookup_by_property(struct device *dev,
8484
const char *property)
8585
{

0 commit comments

Comments
 (0)