summaryrefslogtreecommitdiff
path: root/include/linux/regulator/ab8500-debug.h
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2011-10-19 15:47:32 +0200
committerPhilippe Langlais <philippe.langlais@linaro.org>2012-03-19 08:48:52 +0100
commitf1103b5b1c0a82e8c5e6ce1696fcad2c60348208 (patch)
treefb84a47ca76bf8cb3a0e5a6cb6b4430ce462d2b0 /include/linux/regulator/ab8500-debug.h
parenta7fc2a3562c578994b8b276e1b0ada1cf8bccd3a (diff)
regulator: ab8500: update AB8500 regulator driver
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
Diffstat (limited to 'include/linux/regulator/ab8500-debug.h')
-rw-r--r--include/linux/regulator/ab8500-debug.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/regulator/ab8500-debug.h b/include/linux/regulator/ab8500-debug.h
new file mode 100644
index 00000000000..01655fc7fc1
--- /dev/null
+++ b/include/linux/regulator/ab8500-debug.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) ST-Ericsson SA 2010
+ *
+ * License Terms: GNU General Public License v2
+ *
+ * Authors: Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson
+ */
+
+#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