aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/iseries_veth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/iseries_veth.c')
-rw-r--r--drivers/net/iseries_veth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c
index 93394d76587a..41b1d08fd57b 100644
--- a/drivers/net/iseries_veth.c
+++ b/drivers/net/iseries_veth.c
@@ -56,7 +56,6 @@
56 * number of packets outstanding to a remote partition at a time. 56 * number of packets outstanding to a remote partition at a time.
57 */ 57 */
58 58
59#include <linux/config.h>
60#include <linux/module.h> 59#include <linux/module.h>
61#include <linux/types.h> 60#include <linux/types.h>
62#include <linux/errno.h> 61#include <linux/errno.h>
@@ -1030,7 +1029,7 @@ static u32 veth_get_link(struct net_device *dev)
1030 return 1; 1029 return 1;
1031} 1030}
1032 1031
1033static struct ethtool_ops ops = { 1032static const struct ethtool_ops ops = {
1034 .get_drvinfo = veth_get_drvinfo, 1033 .get_drvinfo = veth_get_drvinfo,
1035 .get_settings = veth_get_settings, 1034 .get_settings = veth_get_settings,
1036 .get_link = veth_get_link, 1035 .get_link = veth_get_link,