Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c6976f7 authored by Olav Haugan's avatar Olav Haugan
Browse files

msm: cpr-regulator: Fix compiler error when debugfs is disabled



The code does not compile with debugfs disabled. Fix this.

Change-Id: I479f1640f36f72758fdb0538751565a672968100
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
parent 8254cb62
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -226,7 +226,9 @@ struct cpr_regulator {
static int cpr_debug_enable = CPR_DEBUG_MASK_IRQ;
static int cpr_enable;
static struct cpr_regulator *the_cpr;
#if defined(CONFIG_DEBUG_FS)
static struct dentry *cpr_debugfs_entry;
#endif

module_param_named(debug_enable, cpr_debug_enable, int, S_IRUGO | S_IWUSR);
#define cpr_debug(message, ...) \