Skip to content

Commit abec95a

Browse files
Stephen Warrenbroonie
authored andcommitted
regmap: fix compilation when !CONFIG_DEBUG_FS
Commit 79c64d5 "regmap: allow regmap instances to be named" changed the prototype of regmap_debugfs_init, but didn't update the dummy inline used when !CONFIG_DEBUGFS. Fix this. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent d3c242e commit abec95a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/base/regmap/internal.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ extern void regmap_debugfs_init(struct regmap *map, const char *name);
106106
extern void regmap_debugfs_exit(struct regmap *map);
107107
#else
108108
static inline void regmap_debugfs_initcall(void) { }
109-
static inline void regmap_debugfs_init(struct regmap *map) { }
109+
static inline void regmap_debugfs_init(struct regmap *map, const char *name) { }
110110
static inline void regmap_debugfs_exit(struct regmap *map) { }
111111
#endif
112112

0 commit comments

Comments
 (0)