summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/tg3.h
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2013-09-11 20:22:40 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-14 02:13:00 +0200
commit0319f30ee7e11b253067d8a621e410bcf0e0442b (patch)
tree674a14f2fbb390d1867fa363f5e63f6982074fa3 /drivers/net/ethernet/broadcom/tg3.h
parentbnx2x: Use pci_dev pm_cap (diff)
downloadlinux-0319f30ee7e11b253067d8a621e410bcf0e0442b.tar.xz
linux-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.h1
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;