Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3eb1fa7e authored by Stephen Hemminger's avatar Stephen Hemminger Committed by John W. Linville
Browse files

brcm80211: make ethtool_ops const



All usage of ethtool_ops should be const; also add comma at end
of initializer list.

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Acked-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 34c5cf20
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -590,8 +590,8 @@ static void brcmf_ethtool_get_drvinfo(struct net_device *ndev,
	sprintf(info->bus_info, "%s", dev_name(drvr->dev));
}

static struct ethtool_ops brcmf_ethtool_ops = {
	.get_drvinfo = brcmf_ethtool_get_drvinfo
static const struct ethtool_ops brcmf_ethtool_ops = {
	.get_drvinfo = brcmf_ethtool_get_drvinfo,
};

static int brcmf_ethtool(struct brcmf_pub *drvr, void __user *uaddr)