Fixed typo in recently added MSCAN code
authorMartin Petera <martin.petera@gmail.com>
Wed, 13 Jan 2010 15:06:50 +0000 (16:06 +0100)
committerMartin Petera <martin.petera@gmail.com>
Wed, 13 Jan 2010 15:06:50 +0000 (16:06 +0100)
lincan/src/mscan.c

index 3456ffc..74c086a 100644 (file)
@@ -824,9 +824,9 @@ int mscan_irq_handler(int irq, struct canchip_t *chip)
                        DEBUGTX("Buffer empty interrupt\n");
 
                        /* clear propriate TXE IRE Enabled  flag */
-                       can_spin_lock(mscan_prewr_lock);
+                       can_spin_lock(&mscan_prewr_lock);
                        mscan_clear_flags(chip, (irq_reg >> 8) & MSCAN_TIER_TXE, MSCAN_TIER);
-                       can_spin_unlock(mscan_prewr_lock);
+                       can_spin_unlock(&mscan_prewr_lock);
 
 
                        /* sends message */