[PATCH] scsi/mesh: module_param corrections

From: Randy.Dunlap
Date: Sat Nov 13 2004 - 17:40:35 EST



Correct MODULE_PARM to module_param (somehow I changed the
macro parameters but not the macro invocation).

Signed-off-by: Randy Dunlap <rddunlap@xxxxxxxx>

diffstat:=
drivers/scsi/mesh.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)


-- diff -Naurp ./drivers/scsi/mesh.c~mesh_modprm ./drivers/scsi/mesh.c
--- ./drivers/scsi/mesh.c~mesh_modprm 2004-11-13 14:19:12.141219000 -0800
+++ ./drivers/scsi/mesh.c 2004-11-13 14:31:47.915324320 -0800
@@ -66,15 +66,15 @@ static int resel_targets = 0xff;
static int debug_targets = 0; /* print debug for these targets */
static int init_reset_delay = CONFIG_SCSI_MESH_RESET_DELAY_MS;

-MODULE_PARM(sync_rate, int, 0);
+module_param(sync_rate, int, 0);
MODULE_PARM_DESC(sync_rate, "Synchronous rate (0..10, 0=async)");
-MODULE_PARM(sync_targets, int, 0);
+module_param(sync_targets, int, 0);
MODULE_PARM_DESC(sync_targets, "Bitmask of targets allowed to set synchronous");
-MODULE_PARM(resel_targets, int, 0);
+module_param(resel_targets, int, 0);
MODULE_PARM_DESC(resel_targets, "Bitmask of targets allowed to set disconnect");
-MODULE_PARM(debug_targets, int, 0644);
+module_param(debug_targets, int, 0644);
MODULE_PARM_DESC(debug_targets, "Bitmask of debugged targets");
-MODULE_PARM(init_reset_delay, int, 0);
+module_param(init_reset_delay, int, 0);
MODULE_PARM_DESC(init_reset_delay, "Initial bus reset delay (0=no reset)");

static int mesh_sync_period = 100;