Browse Source

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>
Rusty Russell 13 years ago
parent
commit
f9fbcdc357
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mtd/sm_ftl.c

+ 1 - 1
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");