2012-01-05 18:49:35

by Stephen Hemminger

[permalink] [raw]
Subject: [PATCH 1/3] ath6kl: make net_device_ops const

Signed-off-by: Stephen Hemminger <[email protected]>

--- a/drivers/net/wireless/ath/ath6kl/main.c 2012-01-05 09:50:35.716589669 -0800
+++ b/drivers/net/wireless/ath/ath6kl/main.c 2012-01-05 09:52:58.906118317 -0800
@@ -1456,7 +1456,7 @@ static struct net_device_stats *ath6kl_g
return &ar->net_stats;
}

-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,




2012-01-09 14:40:58

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH 1/3] ath6kl: make net_device_ops const

Thanks, applied to ath6kl.git.

Kalle