This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / scsi / aha1542.c
index e9920a0..d5130de 100644 (file)
@@ -131,8 +131,8 @@ static int setup_dmaspeed[MAXBOARDS] __initdata = { -1, -1, -1, -1 };
 #if defined(MODULE)
 static int isapnp = 0;
 static int aha1542[] = {0x330, 11, 4, -1};
-module_param_array(aha1542, int, NULL, 0);
-module_param(isapnp, bool, 0);
+MODULE_PARM(aha1542, "1-4i");
+MODULE_PARM(isapnp, "i");
 
 static struct isapnp_device_id id_table[] __initdata = {
        {
@@ -167,7 +167,7 @@ struct aha1542_hostdata {
 
 static struct Scsi_Host *aha_host[7];  /* One for each IRQ level (9-15) */
 
-static DEFINE_SPINLOCK(aha1542_lock);
+static spinlock_t aha1542_lock = SPIN_LOCK_UNLOCKED;