summaryrefslogtreecommitdiff
path: root/include/linux/scc.h
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2003-04-07 19:43:54 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-04-07 19:43:54 -0700
commit1a0ecaa9ffd7265fc629342e9a56059aa2b82c49 (patch)
treebe050501444b325915d5847f4456c41fa9621dc2 /include/linux/scc.h
parent309b1d32729df0a900610bcf6f50a55ea1bef704 (diff)
[PATCH] lock for scc drivers
Diffstat (limited to 'include/linux/scc.h')
-rw-r--r--include/linux/scc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/scc.h b/include/linux/scc.h
index c0f31c2caab0..4965e146b737 100644
--- a/include/linux/scc.h
+++ b/include/linux/scc.h
@@ -244,6 +244,9 @@ struct scc_channel {
/* Timer */
struct timer_list tx_t; /* tx timer for this channel */
struct timer_list tx_wdog; /* tx watchdogs */
+
+ /* Channel lock */
+ spinlock_t lock; /* Channel guard lock */
};
#endif /* defined(__KERNEL__) */