diff options
author | Jon Mason <jdmason@kudzu.us> | 2013-09-11 11:22:40 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-13 20:13:00 -0400 |
commit | 0319f30ee7e11b253067d8a621e410bcf0e0442b (patch) | |
tree | 674a14f2fbb390d1867fa363f5e63f6982074fa3 /drivers/net/ethernet/broadcom/tg3.h | |
parent | 29ed74c35088a775807743a5c84eecf6efa85d9f (diff) | |
download | kernel-common-0319f30ee7e11b253067d8a621e410bcf0e0442b.tar.gz kernel-common-0319f30ee7e11b253067d8a621e410bcf0e0442b.tar.bz2 kernel-common-0319f30ee7e11b253067d8a621e410bcf0e0442b.zip |
tg3: Use pci_dev pm_cap
Use the already existing pm_cap variable in struct pci_dev for
determining the power management offset. This saves the driver from
having to keep track of an extra variable.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Cc: Nithin Nayak Sujir <nsujir@broadcom.com>
Cc: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/tg3.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h index ddb8be1298ea..70257808aa37 100644 --- a/drivers/net/ethernet/broadcom/tg3.h +++ b/drivers/net/ethernet/broadcom/tg3.h @@ -3234,7 +3234,6 @@ struct tg3 { u8 pci_lat_timer; int pci_fn; - int pm_cap; int msi_cap; int pcix_cap; int pcie_readrq; |