Fixes wrong usage of the last parameter of module_param_named()

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@639 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2009-01-26 12:57:22 +00:00
parent 48addc3482
commit 3943177f67
+3 -3
View File
@@ -241,11 +241,11 @@ struct scst_vdisk_thr {
static struct kmem_cache *vdisk_thr_cachep;
static int num_threads;
#define DEF_NUM_THREADS 5
module_param_named(num_threads, num_threads, int, DEF_NUM_THREADS);
static int num_threads = DEF_NUM_THREADS;
module_param_named(num_threads, num_threads, int, 0);
MODULE_PARM_DESC(num_threads, "vdisk threads count");
static int vdisk_attach(struct scst_device *dev);