ath6kl: make net_device_ops const

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
Stephen Hemminger 2012-01-05 10:39:48 -08:00 committed by Kalle Valo
parent 9d82682d45
commit 4269a93054

View File

@ -1158,7 +1158,7 @@ out:
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_stop = ath6kl_close,
.ndo_start_xmit = ath6kl_data_tx,