]> git.hungrycats.org Git - linux/commitdiff
[SUNZILOG]: Fix spinlock access in previous changes.
authorDavid S. Miller <davem@nuts.ninka.net>
Sun, 12 Jan 2003 17:14:34 +0000 (09:14 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Sun, 12 Jan 2003 17:14:34 +0000 (09:14 -0800)
drivers/serial/sunzilog.c

index cb602f2aa5cd12687f9ff7ceddfe241937fbafdb..32e49cddae30dc0729c3fb4fffd10b32829383cc 100644 (file)
@@ -1482,7 +1482,7 @@ static void __init sunzilog_prepare(void)
         * Temporary fix.
         */
        for (channel = 0; channel < NUM_CHANNELS - 1; channel++)
-               spin_lock_init(sunzilog_port_table[channel].port.lock);
+               spin_lock_init(&sunzilog_port_table[channel].port.lock);
 
        sunzilog_irq_chain = up = &sunzilog_port_table[0];
        for (channel = 0; channel < NUM_CHANNELS - 1; channel++)