diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-03-23 12:00:44 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 16:38:14 +0100 |
commit | 81861d78c9edf9a9b03a9ba1f5b242d658f16832 (patch) | |
tree | 9bd32a48b9869fb809c894e560bb9ee807cf7ad1 /drivers/char/sx.c | |
parent | [PATCH] sem2mutex: UDF (diff) | |
download | linux-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/sx.c')
-rw-r--r-- | drivers/char/sx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/sx.c b/drivers/char/sx.c index a6b4f02bdceb..3b4747230270 100644 --- a/drivers/char/sx.c +++ b/drivers/char/sx.c @@ -2318,7 +2318,7 @@ static int sx_init_portstructs (int nboards, int nports) port->board = board; port->gs.rd = &sx_real_driver; #ifdef NEW_WRITE_LOCKING - port->gs.port_write_sem = MUTEX; + port->gs.port_write_mutex = MUTEX; #endif port->gs.driver_lock = SPIN_LOCK_UNLOCKED; /* |