Skip to content

Commit 13eef6f

Browse files
committed
Merge branch 'atlantic-static'
zhengbin says: ==================== net: atlantic: make some symbol & function static v1->v2: add Fixes tag ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents b55cbbe + 7b09496 commit 13eef6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -703,14 +703,14 @@ static void aq_set_msg_level(struct net_device *ndev, u32 data)
703703
aq_nic->msg_enable = data;
704704
}
705705

706-
u32 aq_ethtool_get_priv_flags(struct net_device *ndev)
706+
static u32 aq_ethtool_get_priv_flags(struct net_device *ndev)
707707
{
708708
struct aq_nic_s *aq_nic = netdev_priv(ndev);
709709

710710
return aq_nic->aq_nic_cfg.priv_flags;
711711
}
712712

713-
int aq_ethtool_set_priv_flags(struct net_device *ndev, u32 flags)
713+
static int aq_ethtool_set_priv_flags(struct net_device *ndev, u32 flags)
714714
{
715715
struct aq_nic_s *aq_nic = netdev_priv(ndev);
716716
struct aq_nic_cfg_s *cfg;

drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ static int aq_pm_resume_restore(struct device *dev)
423423
return atl_resume_common(dev, true);
424424
}
425425

426-
const struct dev_pm_ops aq_pm_ops = {
426+
static const struct dev_pm_ops aq_pm_ops = {
427427
.suspend = aq_pm_suspend_poweroff,
428428
.poweroff = aq_pm_suspend_poweroff,
429429
.freeze = aq_pm_freeze,

0 commit comments

Comments
 (0)