summaryrefslogtreecommitdiff
path: root/drivers/net/ehea/ehea.h
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@mvista.com>2008-03-29 00:41:28 +0300
committerJeff Garzik <jeff@garzik.org>2008-03-29 05:14:37 +0300
commitda59cde4825bd42f305efb8e6335f1b58ab8d88c (patch)
treeabfd2f2115b9c158a7cd551a29378e9f256f38c8 /drivers/net/ehea/ehea.h
parentdbbcbb2d95dc4faa3b96d39f78032c85e8745c0c (diff)
downloadlinux-da59cde4825bd42f305efb8e6335f1b58ab8d88c.tar.xz
netdev: ehea: bcmc_regs semaphore to mutex
Convert the ehea_bcmc_regs.lock to a mutex. Signed-off-by: Daniel Walker <dwalker@mvista.com> Cc: Christoph Raisch <raisch@de.ibm.com> Cc: Jan-Bernd Themann <themann@de.ibm.com> Cc: Thomas Klein <tklein@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ehea/ehea.h')
-rw-r--r--drivers/net/ehea/ehea.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea/ehea.h
index f07af2c3bcbe..b5c8eb96bd26 100644
--- a/drivers/net/ehea/ehea.h
+++ b/drivers/net/ehea/ehea.h
@@ -434,7 +434,7 @@ struct ehea_bcmc_reg_entry {
struct ehea_bcmc_reg_array {
struct ehea_bcmc_reg_entry *arr;
int num_entries;
- struct semaphore lock;
+ struct mutex lock;
};
#define EHEA_PORT_UP 1