Ver código fonte

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 anos atrás
pai
commit
4269a93054
1 arquivos alterados com 1 adições e 1 exclusões
  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);
 }
 
-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,