Skip to content

Commit

Permalink
ath6kl: make net_device_ops const
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
  • Loading branch information
Stephen Hemminger authored and Kalle Valo committed Jan 9, 2012
1 parent 9d82682 commit 4269a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/ath6kl/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ static void ath6kl_set_multicast_list(struct net_device *ndev)
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,
Expand Down

0 comments on commit 4269a93

Please sign in to comment.