diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-10-05 11:46:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-06 17:33:37 -0700 |
commit | 86aaf9ad8276160312c09771c0f8e64646996e4c (patch) | |
tree | c1516a6658a9593f288c0f328d4de9a3485407db /drivers/net/qlge/qlge.h | |
parent | 5ee22a5aa9cd85527b93b24402db9ae2567d5aa6 (diff) |
qlge: Fix lock/mutex warnings.
Get rid of spinlock and private mutex usage for exclusive access to the
HW semaphore register. rtnl_lock already creates exclusive access to
this register in all driver API.
Add rtnl to firmware worker threads that also use the HW semaphore register.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r-- | drivers/net/qlge/qlge.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index f470fb9c4e0..3ec6e85587a 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h @@ -9,6 +9,7 @@ #include <linux/pci.h> #include <linux/netdevice.h> +#include <linux/rtnetlink.h> /* * General definitions... @@ -1477,7 +1478,6 @@ struct ql_adapter { u32 mailbox_in; u32 mailbox_out; struct mbox_params idc_mbc; - struct mutex mpi_mutex; int tx_ring_size; int rx_ring_size; |