summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2014-11-15 01:33:08 +0300
committerSebastian Reichel <sre@kernel.org>2014-11-15 01:33:08 +0300
commitcdb83947ab78dac2477b3d27416fbd1cc480cead (patch)
tree485595e436d0bc189913d205b647885c54825dee
parent068afbbebe14cdb628f7d738d1d289cf01a3b5d9 (diff)
downloadlinux-cdb83947ab78dac2477b3d27416fbd1cc480cead.tar.xz
HSI: nokia-modem: setup default value for pm parameter
The module documents, that 1 is the default, but it actually isn't. This updates the module to use pm=1 as default. Signed-off-by: Sebastian Reichel <sre@kernel.org>
-rw-r--r--drivers/hsi/clients/nokia-modem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hsi/clients/nokia-modem.c b/drivers/hsi/clients/nokia-modem.c
index e43c3c9acec1..67b8e8f53a09 100644
--- a/drivers/hsi/clients/nokia-modem.c
+++ b/drivers/hsi/clients/nokia-modem.c
@@ -29,7 +29,7 @@
#include <linux/of_gpio.h>
#include <linux/hsi/ssi_protocol.h>
-static unsigned int pm;
+static unsigned int pm = 1;
module_param(pm, int, 0400);
MODULE_PARM_DESC(pm,
"Enable power management (0=disabled, 1=userland based [default])");