diff options
author | Pierre Peiffer <pierre.peiffer@stericsson.com> | 2011-02-01 15:41:39 +0100 |
---|---|---|
committer | Henrik Öhman <henrik.ohman@stericsson.com> | 2011-03-09 09:37:31 +0100 |
commit | 60055d20240fdfa2f542846f0dde98580770aa65 (patch) | |
tree | 83c9bfd071164ca1db125854f2fa8f9cc2979951 /include | |
parent | a86b8feba9560652f650f9efaa3014a27670f088 (diff) |
ux500: regulator: Fix compilation issue if PM set and REGULATOR_AB8500_DEBUG unset
ST-Ericsson ID: -
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Change-Id: Ib2730e46dc271193349feb247f0d63493df7e848
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14067
Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/regulator/ab8500-debug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/regulator/ab8500-debug.h b/include/linux/regulator/ab8500-debug.h index c2af4b33082..01655fc7fc1 100644 --- a/include/linux/regulator/ab8500-debug.h +++ b/include/linux/regulator/ab8500-debug.h @@ -9,8 +9,13 @@ #ifndef __LINUX_MFD_AB8500_REGULATOR_DEBUG_H #define __LINUX_MFD_AB8500_REGULATOR_DEBUG_H +#ifdef CONFIG_REGULATOR_AB8500_DEBUG /* AB8500 debug force/restore functions */ void ab8500_regulator_debug_force(void); void ab8500_regulator_debug_restore(void); +#else +static inline void ab8500_regulator_debug_force(void) {} +static inline void ab8500_regulator_debug_restore(void) {} +#endif #endif |