mtd: sm_ftl: fix module parameter
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 15 Dec 2011 03:05:49 +0000 (13:35 +1030)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:18:55 +0000 (18:18 +0000)
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>
drivers/mtd/sm_ftl.c

index fddb714e323cf3ea577b40c32e4abbb2aced5f29..1c9f307ae0a177c6eca1aabf1bb68ed37ce0aa0e 100644 (file)
@@ -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");