From: Michał Mirosław Date: Tue, 15 Feb 2011 16:59:16 +0000 (+0000) Subject: ethtool: move EXPORT_SYMBOL(ethtool_op_set_tx_csum) to correct place X-Git-Tag: firefly_0821_release~7613^2~2196^2~343 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9a279ea3a77ebcc91b68f0546e7cfa5018a12513;p=firefly-linux-kernel-4.4.55.git ethtool: move EXPORT_SYMBOL(ethtool_op_set_tx_csum) to correct place Signed-off-by: Michał Mirosław Signed-off-by: David S. Miller --- diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 5984ee0c7136..9eb82775a556 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -55,6 +55,7 @@ int ethtool_op_set_tx_csum(struct net_device *dev, u32 data) return 0; } +EXPORT_SYMBOL(ethtool_op_set_tx_csum); int ethtool_op_set_tx_hw_csum(struct net_device *dev, u32 data) { @@ -1124,7 +1125,6 @@ static int ethtool_set_tx_csum(struct net_device *dev, char __user *useraddr) return dev->ethtool_ops->set_tx_csum(dev, edata.data); } -EXPORT_SYMBOL(ethtool_op_set_tx_csum); static int ethtool_set_rx_csum(struct net_device *dev, char __user *useraddr) {