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

Commit ce4b80fb authored by Imre Deak's avatar Imre Deak Committed by Greg Kroah-Hartman
Browse files

staging: gdm724x: gdm_lte: Constify gdm_netdev_ops



Fix the following checkpatch.pl warning:
WARNING: struct net_device_ops should normally be const
+static struct net_device_ops gdm_netdev_ops = {

Signed-off-by: default avatarImre Deak <imre.deak@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 71d387c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -828,7 +828,7 @@ void start_rx_proc(struct phy_dev *phy_dev)
				rx_complete, phy_dev, USB_COMPLETE);
}

static struct net_device_ops gdm_netdev_ops = {
static const struct net_device_ops gdm_netdev_ops = {
	.ndo_open			= gdm_lte_open,
	.ndo_stop			= gdm_lte_close,
	.ndo_set_config			= gdm_lte_set_config,