ath6kl: make net_device_ops const
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 5 Jan 2012 18:39:48 +0000 (10:39 -0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 9 Jan 2012 14:33:23 +0000 (16:33 +0200)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/main.c

index 325d316f40ece50054771ba6e5241f33ec1f4fcd..8742eaa781866fe60fbaf15e8ade3fe6c3a61c69 100644 (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,