|
@@ -653,7 +653,7 @@ static void a2232_init_portstructs(void)
|
|
port->gs.closing_wait = 30 * HZ;
|
|
port->gs.closing_wait = 30 * HZ;
|
|
port->gs.rd = &a2232_real_driver;
|
|
port->gs.rd = &a2232_real_driver;
|
|
#ifdef NEW_WRITE_LOCKING
|
|
#ifdef NEW_WRITE_LOCKING
|
|
- init_MUTEX(&(port->gs.port_write_mutex));
|
|
|
|
|
|
+ mutex_init(&(port->gs.port_write_mutex));
|
|
#endif
|
|
#endif
|
|
init_waitqueue_head(&port->gs.open_wait);
|
|
init_waitqueue_head(&port->gs.open_wait);
|
|
init_waitqueue_head(&port->gs.close_wait);
|
|
init_waitqueue_head(&port->gs.close_wait);
|