Commit 4269a930 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Kalle Valo

ath6kl: make net_device_ops const

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment