提交 4269a930 编写于 作者: S Stephen Hemminger 提交者: Kalle Valo

ath6kl: make net_device_ops const

Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 9d82682d
...@@ -1158,7 +1158,7 @@ static void ath6kl_set_multicast_list(struct net_device *ndev) ...@@ -1158,7 +1158,7 @@ static void ath6kl_set_multicast_list(struct net_device *ndev)
list_splice_tail(&mc_filter_new, &vif->mc_filter); list_splice_tail(&mc_filter_new, &vif->mc_filter);
} }
static struct net_device_ops ath6kl_netdev_ops = { static const struct net_device_ops ath6kl_netdev_ops = {
.ndo_open = ath6kl_open, .ndo_open = ath6kl_open,
.ndo_stop = ath6kl_close, .ndo_stop = ath6kl_close,
.ndo_start_xmit = ath6kl_data_tx, .ndo_start_xmit = ath6kl_data_tx,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册