summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_l2_main.c
diff options
context:
space:
mode:
authorFrank Blaschka2009-01-09 04:44:00 +0100
committerDavid S. Miller2009-01-11 09:05:16 +0100
commit3d58cefd823e47209ffcac9cada0a618771da1a4 (patch)
treeb73604e32ff2d83103a64e2cca4bfee96271c51b /drivers/s390/net/qeth_l2_main.c
parentqlge: Naming interrupt vectors (diff)
downloadkernel-qcow2-linux-3d58cefd823e47209ffcac9cada0a618771da1a4.tar.gz
kernel-qcow2-linux-3d58cefd823e47209ffcac9cada0a618771da1a4.tar.xz
kernel-qcow2-linux-3d58cefd823e47209ffcac9cada0a618771da1a4.zip
qeth: fix usage of netdev_ops
Have separate netdev_ops for OSA and HiperSocket/TR. Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l2_main.c')
-rw-r--r--drivers/s390/net/qeth_l2_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c
index c4f1b046c3b1..07ab8a5c1c46 100644
--- a/drivers/s390/net/qeth_l2_main.c
+++ b/drivers/s390/net/qeth_l2_main.c
@@ -916,7 +916,7 @@ static struct ethtool_ops qeth_l2_osn_ops = {
.get_drvinfo = qeth_core_get_drvinfo,
};
-static struct net_device_ops qeth_l2_netdev_ops = {
+static const struct net_device_ops qeth_l2_netdev_ops = {
.ndo_open = qeth_l2_open,
.ndo_stop = qeth_l2_stop,
.ndo_get_stats = qeth_get_stats,