diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-09-05 16:06:13 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-05 18:00:08 -0400 |
commit | bbcf61ca8dcf093bd030a4dafb662b714676652d (patch) | |
tree | d90609aa9bc14e0f04105a17f5a3bd1b81cf1258 /drivers/base/regmap | |
parent | 6f306441e97f8f9d27c43a536360fe221f675a71 (diff) |
regmap: Make debugfs stubs static inline
Make the debugfs stubs static inline to avoid future compilation issues due to
duplicated symbols when CONFIG_DEBUG_FS=n once internal.h is included by
multiple source files.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap')
-rw-r--r-- | drivers/base/regmap/internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h index 7e14d5a6f53e..a98493cde5c3 100644 --- a/drivers/base/regmap/internal.h +++ b/drivers/base/regmap/internal.h | |||
@@ -61,9 +61,9 @@ extern void regmap_debugfs_initcall(void); | |||
61 | extern void regmap_debugfs_init(struct regmap *map); | 61 | extern void regmap_debugfs_init(struct regmap *map); |
62 | extern void regmap_debugfs_exit(struct regmap *map); | 62 | extern void regmap_debugfs_exit(struct regmap *map); |
63 | #else | 63 | #else |
64 | void regmap_debugfs_initcall(void) { } | 64 | static inline void regmap_debugfs_initcall(void) { } |
65 | void regmap_debugfs_init(struct regmap *map) { } | 65 | static inline void regmap_debugfs_init(struct regmap *map) { } |
66 | void regmap_debugfs_exit(struct regmap *map) { } | 66 | static inline void regmap_debugfs_exit(struct regmap *map) { } |
67 | #endif | 67 | #endif |
68 | 68 | ||
69 | #endif | 69 | #endif |