diff options
author | Igor Russkikh <igor.russkikh@aquantia.com> | 2018-01-15 16:41:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-16 14:40:00 -0500 |
commit | 1a713f87a0914ccaa9532e61ee73ac691c1f9e3d (patch) | |
tree | 720bf585fc6c73370dd08a4f0debed290a4b8776 /drivers/net/ethernet/aquantia/atlantic/aq_pci_func.h | |
parent | 78f5193dbcd3ed799c9fe187ddbfa67503e97ab8 (diff) |
net: aquantia: Cleanup hardware access modules
Use direct aq_hw_s *self reference where possible
Eliminate useless abstraction PHAL, duplicated structures definitions,
Simplify nic config structure creation and management.
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/aq_pci_func.h')
-rw-r--r-- | drivers/net/ethernet/aquantia/atlantic/aq_pci_func.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_pci_func.h b/drivers/net/ethernet/aquantia/atlantic/aq_pci_func.h index ecb033791203..a174d900dd04 100644 --- a/drivers/net/ethernet/aquantia/atlantic/aq_pci_func.h +++ b/drivers/net/ethernet/aquantia/atlantic/aq_pci_func.h @@ -13,6 +13,7 @@ #define AQ_PCI_FUNC_H #include "aq_common.h" +#include "aq_nic.h" struct aq_pci_func_s *aq_pci_func_alloc(struct aq_hw_ops *hw_ops, struct pci_dev *pdev, |