]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/3c507.c
drivers/net: const-ify ethtool_ops declarations
[karo-tx-linux.git] / drivers / net / 3c507.c
index 3a95605e18c5fc772b7f4e3bb4c4433513f5cba2..8205a535c5b74e89ea2e48da9db9376c88ef5de4 100644 (file)
@@ -294,7 +294,7 @@ static void el16_tx_timeout (struct net_device *dev);
 
 static void hardware_send_packet(struct net_device *dev, void *buf, short length, short pad);
 static void init_82586_mem(struct net_device *dev);
-static struct ethtool_ops netdev_ethtool_ops;
+static const struct ethtool_ops netdev_ethtool_ops;
 static void init_rx_bufs(struct net_device *);
 
 static int io = 0x300;
@@ -919,7 +919,7 @@ static void netdev_set_msglevel(struct net_device *dev, u32 level)
        debug = level;
 }
 
-static struct ethtool_ops netdev_ethtool_ops = {
+static const struct ethtool_ops netdev_ethtool_ops = {
        .get_drvinfo            = netdev_get_drvinfo,
        .get_msglevel           = netdev_get_msglevel,
        .set_msglevel           = netdev_set_msglevel,