|
@@ -1051,7 +1051,7 @@ static bool get_bool(struct platform_device *ofdev, const char *s)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-static struct net_device_ops xemaclite_netdev_ops;
|
|
|
+static const struct net_device_ops xemaclite_netdev_ops;
|
|
|
|
|
|
/**
|
|
|
* xemaclite_of_probe - Probe method for the Emaclite device.
|
|
@@ -1205,7 +1205,7 @@ xemaclite_poll_controller(struct net_device *ndev)
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
-static struct net_device_ops xemaclite_netdev_ops = {
|
|
|
+static const struct net_device_ops xemaclite_netdev_ops = {
|
|
|
.ndo_open = xemaclite_open,
|
|
|
.ndo_stop = xemaclite_close,
|
|
|
.ndo_start_xmit = xemaclite_send,
|