mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 10:46:33 +00:00
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>
This commit is contained in:
parent
d3c242e1f2
commit
abec95adef
@ -106,7 +106,7 @@ extern void regmap_debugfs_init(struct regmap *map, const char *name);
|
|||||||
extern void regmap_debugfs_exit(struct regmap *map);
|
extern void regmap_debugfs_exit(struct regmap *map);
|
||||||
#else
|
#else
|
||||||
static inline void regmap_debugfs_initcall(void) { }
|
static inline void regmap_debugfs_initcall(void) { }
|
||||||
static inline void regmap_debugfs_init(struct regmap *map) { }
|
static inline void regmap_debugfs_init(struct regmap *map, const char *name) { }
|
||||||
static inline void regmap_debugfs_exit(struct regmap *map) { }
|
static inline void regmap_debugfs_exit(struct regmap *map) { }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user