Commit 4a383d75 authored by Simon Evans's avatar Simon Evans Committed by Jeff Garzik

[PATCH] 3c574_cs initialise spinlock

This patch against 2.5.75 initialises a spinlock when the structure containing
it is allocated
parent 5cd8cdcc
......@@ -297,6 +297,7 @@ static dev_link_t *tc574_attach(void)
link = &lp->link;
link->priv = dev;
spin_lock_init(&lp->window_lock);
init_timer(&link->release);
link->release.function = &tc574_release;
link->release.data = (unsigned long)link;
......
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