]> Pileus Git - ~andy/linux/blobdiff - drivers/net/ks8842.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
[~andy/linux] / drivers / net / ks8842.c
index 39b0aea2aab3ff71a51d2d049d654157782eb73f..99e954167fa6da32251a3c68e1f1092a367c8186 100644 (file)
@@ -551,7 +551,8 @@ static int ks8842_close(struct net_device *netdev)
        return 0;
 }
 
-static int ks8842_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
+static netdev_tx_t ks8842_xmit_frame(struct sk_buff *skb,
+                                    struct net_device *netdev)
 {
        int ret;
        struct ks8842_adapter *adapter = netdev_priv(netdev);
@@ -618,7 +619,7 @@ static const struct net_device_ops ks8842_netdev_ops = {
        .ndo_validate_addr      = eth_validate_addr
 };
 
-static struct ethtool_ops ks8842_ethtool_ops = {
+static const struct ethtool_ops ks8842_ethtool_ops = {
        .get_link               = ethtool_op_get_link,
 };