Commit 13eef6fc authored by David S. Miller's avatar David S. Miller

Merge branch 'atlantic-static'

zhengbin says:

====================
net: atlantic: make some symbol & function static

v1->v2: add Fixes tag
====================
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents b55cbbee 7b094968
...@@ -703,14 +703,14 @@ static void aq_set_msg_level(struct net_device *ndev, u32 data) ...@@ -703,14 +703,14 @@ static void aq_set_msg_level(struct net_device *ndev, u32 data)
aq_nic->msg_enable = data; aq_nic->msg_enable = data;
} }
u32 aq_ethtool_get_priv_flags(struct net_device *ndev) static u32 aq_ethtool_get_priv_flags(struct net_device *ndev)
{ {
struct aq_nic_s *aq_nic = netdev_priv(ndev); struct aq_nic_s *aq_nic = netdev_priv(ndev);
return aq_nic->aq_nic_cfg.priv_flags; return aq_nic->aq_nic_cfg.priv_flags;
} }
int aq_ethtool_set_priv_flags(struct net_device *ndev, u32 flags) static int aq_ethtool_set_priv_flags(struct net_device *ndev, u32 flags)
{ {
struct aq_nic_s *aq_nic = netdev_priv(ndev); struct aq_nic_s *aq_nic = netdev_priv(ndev);
struct aq_nic_cfg_s *cfg; struct aq_nic_cfg_s *cfg;
......
...@@ -423,7 +423,7 @@ static int aq_pm_resume_restore(struct device *dev) ...@@ -423,7 +423,7 @@ static int aq_pm_resume_restore(struct device *dev)
return atl_resume_common(dev, true); return atl_resume_common(dev, true);
} }
const struct dev_pm_ops aq_pm_ops = { static const struct dev_pm_ops aq_pm_ops = {
.suspend = aq_pm_suspend_poweroff, .suspend = aq_pm_suspend_poweroff,
.poweroff = aq_pm_suspend_poweroff, .poweroff = aq_pm_suspend_poweroff,
.freeze = aq_pm_freeze, .freeze = aq_pm_freeze,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment