diff options
author | Igor Russkikh <igor.russkikh@aquantia.com> | 2018-01-19 17:03:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-22 02:19:03 +0300 |
commit | 8fcb98f462e6504e6d1ab2dab87c6db803c206b6 (patch) | |
tree | 53960b671475243b6573ae1fbbae5b49283cb51d /drivers/net/ethernet/aquantia/atlantic/aq_pci_func.h | |
parent | 4948293ff963e5451a8f0c21be8f1dfc2c7f65f5 (diff) | |
download | linux-8fcb98f462e6504e6d1ab2dab87c6db803c206b6.tar.xz |
net: aquantia: Convert hw and caps structures to const static pointers
This removes unnecessary structure copying, and prepares the driver for
separate firmware ops table introduction.
We also remove extra copy of capabilities structure (which is const actually)
and also replace it with a const pointer in aq_nic_cfg.
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')
0 files changed, 0 insertions, 0 deletions