Skip to content

Commit

Permalink
mtd: sm_ftl: fix module parameter
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rusty Russell authored and David Woodhouse committed Jan 9, 2012
1 parent e10019b commit f9fbcdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/sm_ftl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit f9fbcdc

Please sign in to comment.