diff options
author | Daniel Walker <dwalker@mvista.com> | 2008-03-28 14:41:28 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-28 22:14:37 -0400 |
commit | da59cde4825bd42f305efb8e6335f1b58ab8d88c (patch) | |
tree | abfd2f2115b9c158a7cd551a29378e9f256f38c8 /drivers/net/ehea/ehea.h | |
parent | dbbcbb2d95dc4faa3b96d39f78032c85e8745c0c (diff) | |
download | kernel_samsung_smdk4412-da59cde4825bd42f305efb8e6335f1b58ab8d88c.zip kernel_samsung_smdk4412-da59cde4825bd42f305efb8e6335f1b58ab8d88c.tar.gz kernel_samsung_smdk4412-da59cde4825bd42f305efb8e6335f1b58ab8d88c.tar.bz2 |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea/ehea.h index f07af2c..b5c8eb9 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 |