diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-03-23 03:00:44 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 07:38:14 -0800 |
commit | 81861d78c9edf9a9b03a9ba1f5b242d658f16832 (patch) | |
tree | 9bd32a48b9869fb809c894e560bb9ee807cf7ad1 /drivers/char/sx.c | |
parent | 1e7933defd0fce79b2d8ecdbc7ca37fed0c188ed (diff) | |
download | linux-81861d78c9edf9a9b03a9ba1f5b242d658f16832.tar.bz2 |
[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; /* |