diff options
author | Igor Russkikh | 2018-01-15 14:41:19 +0100 |
---|---|---|
committer | David S. Miller | 2018-01-16 20:40:01 +0100 |
commit | db5506156443409955d5689d4a2a49b08fb54d86 (patch) | |
tree | 1622ccc9edf816d5aedc9447dc6bbce5ab5f9410 /drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c | |
parent | net: aquantia: Simplify dependencies between pci modules (diff) | |
download | kernel-qcow2-linux-db5506156443409955d5689d4a2a49b08fb54d86.tar.gz kernel-qcow2-linux-db5506156443409955d5689d4a2a49b08fb54d86.tar.xz kernel-qcow2-linux-db5506156443409955d5689d4a2a49b08fb54d86.zip |
net: aquantia: Eliminate aq_nic structure abstraction
aq_nic_s was hidden in aq_nic_internal.h, that made it difficult to access
nic fields and structures from other modules.
This change moves aq_nic_s struct into aq_nic.h and thus makes it available
to other driver modules, mainly pci module and hw related module.
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/hw_atl/hw_atl_b0.c')
-rw-r--r-- | drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c b/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c index 1c47811a03e7..9b7e04f536ff 100644 --- a/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c +++ b/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c @@ -12,6 +12,7 @@ #include "../aq_hw.h" #include "../aq_hw_utils.h" #include "../aq_ring.h" +#include "../aq_nic.h" #include "hw_atl_b0.h" #include "hw_atl_utils.h" #include "hw_atl_llh.h" |