aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ps3_gelic_net.h
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@mvista.com>2008-05-22 00:00:03 -0700
committerJohn W. Linville <linville@tuxdriver.com>2008-06-03 15:00:14 -0400
commitf622360bce6facb05fdce4bce5ee4beb2432222d (patch)
tree840052879b62746ccfbdcd917d1e1bea680f190c /drivers/net/ps3_gelic_net.h
parentbb2d67a34fe80c14d0a379695ab81362b3da1d53 (diff)
ps3: gelic: updown_lock semaphore to mutex
Signed-off-by: Daniel Walker <dwalker@mvista.com> Acked-by: Masakazu Mokuno <mokuno@sm.sony.co.jp> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/ps3_gelic_net.h')
-rw-r--r--drivers/net/ps3_gelic_net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ps3_gelic_net.h b/drivers/net/ps3_gelic_net.h
index 520f143c2c0..8b413868bbe 100644
--- a/drivers/net/ps3_gelic_net.h
+++ b/drivers/net/ps3_gelic_net.h
@@ -298,7 +298,7 @@ struct gelic_card {
wait_queue_head_t waitq;
/* only first user should up the card */
- struct semaphore updown_lock;
+ struct mutex updown_lock;
atomic_t users;
u64 ether_port_status;