|
@@ -126,7 +126,7 @@
|
|
|
*/
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
-static bool verbose = 0;
|
|
|
+static int verbose = 0;
|
|
|
static int major = PD_MAJOR;
|
|
|
static char *name = PD_NAME;
|
|
|
static int cluster = 64;
|
|
@@ -161,7 +161,7 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_GEO, D_SBY, D_DLY, D_SLV};
|
|
|
static DEFINE_MUTEX(pd_mutex);
|
|
|
static DEFINE_SPINLOCK(pd_lock);
|
|
|
|
|
|
-module_param(verbose, bool, 0);
|
|
|
+module_param(verbose, int, 0);
|
|
|
module_param(major, int, 0);
|
|
|
module_param(name, charp, 0);
|
|
|
module_param(cluster, int, 0);
|