summaryrefslogtreecommitdiffstats
path: root/drivers/char/vme_scc.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-03-23 12:00:44 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-23 16:38:14 +0100
commit81861d78c9edf9a9b03a9ba1f5b242d658f16832 (patch)
tree9bd32a48b9869fb809c894e560bb9ee807cf7ad1 /drivers/char/vme_scc.c
parent[PATCH] sem2mutex: UDF (diff)
downloadlinux-81861d78c9edf9a9b03a9ba1f5b242d658f16832.tar.xz
linux-81861d78c9edf9a9b03a9ba1f5b242d658f16832.zip
[PATCH] sem2mutex: serial ->port_write_mutex
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/vme_scc.c')
-rw-r--r--drivers/char/vme_scc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/vme_scc.c b/drivers/char/vme_scc.c
index d9325281e482..fd00822ac145 100644
--- a/drivers/char/vme_scc.c
+++ b/drivers/char/vme_scc.c
@@ -184,7 +184,7 @@ static void scc_init_portstructs(void)
port->gs.closing_wait = 30 * HZ;
port->gs.rd = &scc_real_driver;
#ifdef NEW_WRITE_LOCKING
- port->gs.port_write_sem = MUTEX;
+ port->gs.port_write_mutex = MUTEX;
#endif
init_waitqueue_head(&port->gs.open_wait);
init_waitqueue_head(&port->gs.close_wait);