Thread (1 message) 1 message, 1 author, 2012-01-05
DORMANTno replies

[PATCH 1/2] brcmf: make net_device_ops const

From: Stephen Hemminger <hidden>
Date: 2012-01-05 18:49:35

Signed-off-by: Stephen Hemminger <redacted>

--- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c	2012-01-05 09:50:35.768590224 -0800
+++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c	2012-01-05 10:02:57.488495190 -0800
@@ -1123,7 +1123,7 @@ int brcmf_bus_start(struct brcmf_pub *dr
 	return 0;
 }
 
-static struct net_device_ops brcmf_netdev_ops_pri = {
+static const struct net_device_ops brcmf_netdev_ops_pri = {
 	.ndo_open = brcmf_netdev_open,
 	.ndo_stop = brcmf_netdev_stop,
 	.ndo_get_stats = brcmf_netdev_get_stats,

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help