Browse Source

ath6kl: make net_device_ops const

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Stephen Hemminger 13 years ago
parent
commit
4269a93054
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/wireless/ath/ath6kl/main.c

+ 1 - 1
drivers/net/wireless/ath/ath6kl/main.c

@@ -1158,7 +1158,7 @@ out:
 	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,