From: <he...@us...> - 2005-03-14 19:55:03
|
Update of /cvsroot/gc-linux/linux/drivers/exi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25235/drivers/exi Modified Files: exi-hw.c Log Message: Damn macros. Index: exi-hw.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/exi/exi-hw.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- exi-hw.c 14 Mar 2005 19:47:10 -0000 1.4 +++ exi-hw.c 14 Mar 2005 19:54:54 -0000 1.5 @@ -411,7 +411,7 @@ BUG_ON(cmd->data == NULL); BUG_ON(exi_is_selected(exi_channel)); - spin_lock(exi_channel->cmd_lock); + spin_lock(&exi_channel->cmd_lock); /* cmd->data contains the device to select */ exi_device = cmd->data; @@ -443,7 +443,7 @@ exi_channel->flags &= ~EXI_SELECTED; exi_channel->device_selected = NULL; - spin_unlock(exi_channel->cmd_lock); + spin_unlock(&exi_channel->cmd_lock); } /* |