aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-04-06 01:09:20 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-10 05:31:41 -0400
commitabec95adefaeb2229cb28de65f3d32cd149b9dd9 (patch)
tree110b04593add3dc835c7497c93b6431e322770b5 /drivers/base
parentd3c242e1f22f5dfed009296ee45ce896153f0b53 (diff)
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>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/regmap/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h
index 6beef6691c47..8461ca7711ed 100644
--- a/drivers/base/regmap/internal.h
+++ b/drivers/base/regmap/internal.h
@@ -106,7 +106,7 @@ extern void regmap_debugfs_init(struct regmap *map, const char *name);
106extern void regmap_debugfs_exit(struct regmap *map); 106extern void regmap_debugfs_exit(struct regmap *map);
107#else 107#else
108static inline void regmap_debugfs_initcall(void) { } 108static inline void regmap_debugfs_initcall(void) { }
109static inline void regmap_debugfs_init(struct regmap *map) { } 109static inline void regmap_debugfs_init(struct regmap *map, const char *name) { }
110static inline void regmap_debugfs_exit(struct regmap *map) { } 110static inline void regmap_debugfs_exit(struct regmap *map) { }
111#endif 111#endif
112 112