Commit a7817b3f authored by Thomas Gleixner's avatar Thomas Gleixner

net: 3c527: semaphore cleanup

The usage of this "mutex" is non obvious and probably a completion in
some places. Make it a semaphore.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc:  David Miller <davem@davemloft.net>
parent ef32f036
......@@ -521,7 +521,7 @@ static int __init mc32_probe1(struct net_device *dev, int slot)
lp->tx_len = lp->exec_box->data[9]; /* Transmit list count */
lp->rx_len = lp->exec_box->data[11]; /* Receive list count */
init_MUTEX_LOCKED(&lp->cmd_mutex);
semaphore_init_locked(&lp->cmd_mutex);
init_completion(&lp->execution_cmd);
init_completion(&lp->xceiver_cmd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment