linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / char / sx.c
index 3b47472..a6b4f02 100644 (file)
@@ -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_mutex = MUTEX;
+                       port->gs.port_write_sem = MUTEX;
 #endif
                        port->gs.driver_lock = SPIN_LOCK_UNLOCKED;
                        /*