X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fchar%2Fsx.c;h=3b4747230270a3dc38fbdcc12fab013ee5a23439;hb=d38fde84f7521973fdfa5c3d03d62f014b42cd03;hp=a6b4f02bdceb06ba347d5241f6b479eacecbb36a;hpb=409761bb6a06bd61e2d8e27a1af534371d9537ed;p=powerpc.git diff --git a/drivers/char/sx.c b/drivers/char/sx.c index a6b4f02bdc..3b47472302 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; /*