Commit 1a0ecaa9 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] lock for scc drivers

parent 309b1d32
...@@ -244,6 +244,9 @@ struct scc_channel { ...@@ -244,6 +244,9 @@ struct scc_channel {
/* Timer */ /* Timer */
struct timer_list tx_t; /* tx timer for this channel */ struct timer_list tx_t; /* tx timer for this channel */
struct timer_list tx_wdog; /* tx watchdogs */ struct timer_list tx_wdog; /* tx watchdogs */
/* Channel lock */
spinlock_t lock; /* Channel guard lock */
}; };
#endif /* defined(__KERNEL__) */ #endif /* defined(__KERNEL__) */
......
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