diff options
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r-- | drivers/ieee1394/eth1394.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/drivers/ieee1394/eth1394.c b/drivers/ieee1394/eth1394.c index 20128692b339..c5b272a5268a 100644 --- a/drivers/ieee1394/eth1394.c +++ b/drivers/ieee1394/eth1394.c | |||
@@ -516,16 +516,20 @@ static const struct header_ops ether1394_header_ops = { | |||
516 | .parse = ether1394_header_parse, | 516 | .parse = ether1394_header_parse, |
517 | }; | 517 | }; |
518 | 518 | ||
519 | static const struct net_device_ops ether1394_netdev_ops = { | ||
520 | .ndo_open = ether1394_open, | ||
521 | .ndo_stop = ether1394_stop, | ||
522 | .ndo_start_xmit = ether1394_tx, | ||
523 | .ndo_get_stats = ether1394_stats, | ||
524 | .ndo_tx_timeout = ether1394_tx_timeout, | ||
525 | .ndo_change_mtu = ether1394_change_mtu, | ||
526 | }; | ||
527 | |||
519 | static void ether1394_init_dev(struct net_device *dev) | 528 | static void ether1394_init_dev(struct net_device *dev) |
520 | { | 529 | { |
521 | dev->open = ether1394_open; | ||
522 | dev->stop = ether1394_stop; | ||
523 | dev->hard_start_xmit = ether1394_tx; | ||
524 | dev->get_stats = ether1394_stats; | ||
525 | dev->tx_timeout = ether1394_tx_timeout; | ||
526 | dev->change_mtu = ether1394_change_mtu; | ||
527 | 530 | ||
528 | dev->header_ops = ðer1394_header_ops; | 531 | dev->header_ops = ðer1394_header_ops; |
532 | dev->netdev_ops = ðer1394_netdev_ops; | ||
529 | 533 | ||
530 | SET_ETHTOOL_OPS(dev, ðtool_ops); | 534 | SET_ETHTOOL_OPS(dev, ðtool_ops); |
531 | 535 | ||