Commit 6ec68a00 authored by David S. Miller's avatar David S. Miller

[SUNZILOG]: Fix spinlock access in previous changes.

parent baee354e
...@@ -1482,7 +1482,7 @@ static void __init sunzilog_prepare(void) ...@@ -1482,7 +1482,7 @@ static void __init sunzilog_prepare(void)
* Temporary fix. * Temporary fix.
*/ */
for (channel = 0; channel < NUM_CHANNELS - 1; channel++) 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]; sunzilog_irq_chain = up = &sunzilog_port_table[0];
for (channel = 0; channel < NUM_CHANNELS - 1; channel++) for (channel = 0; channel < NUM_CHANNELS - 1; channel++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment