summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/sm_ftl.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-12-15 13:35:49 +1030
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 18:18:55 +0000
commitf9fbcdc357f37d6c82a75a89c64efbe8bd5274e1 (patch)
tree538815c476b5cd2ecd195a0eb415a9e4b240edcd /drivers/mtd/sm_ftl.c
parente10019bce9cbeb7675d5d08221012a2cfee0d498 (diff)
downloadlinux-f9fbcdc357f37d6c82a75a89c64efbe8bd5274e1.tar.gz
linux-f9fbcdc357f37d6c82a75a89c64efbe8bd5274e1.tar.bz2
linux-f9fbcdc357f37d6c82a75a89c64efbe8bd5274e1.zip
mtd: sm_ftl: fix module parameter
You didn't mean this to be a bool. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/sm_ftl.c')
-rw-r--r--drivers/mtd/sm_ftl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/sm_ftl.c b/drivers/mtd/sm_ftl.c
index fddb714e323c..1c9f307ae0a1 100644
--- a/drivers/mtd/sm_ftl.c
+++ b/drivers/mtd/sm_ftl.c
@@ -25,7 +25,7 @@
struct workqueue_struct *cache_flush_workqueue;
static int cache_timeout = 1000;
-module_param(cache_timeout, bool, S_IRUGO);
+module_param(cache_timeout, int, S_IRUGO);
MODULE_PARM_DESC(cache_timeout,
"Timeout (in ms) for cache flush (1000 ms default");