From fed133bbfd913cf34373580948a737a3158074f6 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Sun, 28 Sep 2003 11:58:07 -0300 Subject: [PATCH] o NET: move net/core/ethtool.c EXPORT_SYMBOLs from net/netsyms.c --- net/core/ethtool.c | 9 +++++++++ net/netsyms.c | 10 ---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 2159f4df377e9..35f27196b1541 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -9,6 +9,7 @@ * It's GPL, stupid. */ +#include #include #include #include @@ -727,3 +728,11 @@ int dev_ethtool(struct ifreq *ifr) return dev->do_ioctl(dev, ifr, SIOCETHTOOL); return -EOPNOTSUPP; } + +EXPORT_SYMBOL(ethtool_op_get_link); +EXPORT_SYMBOL(ethtool_op_get_sg); +EXPORT_SYMBOL(ethtool_op_get_tso); +EXPORT_SYMBOL(ethtool_op_get_tx_csum); +EXPORT_SYMBOL(ethtool_op_set_sg); +EXPORT_SYMBOL(ethtool_op_set_tso); +EXPORT_SYMBOL(ethtool_op_set_tx_csum); diff --git a/net/netsyms.c b/net/netsyms.c index 39420374806c7..f37dfdeed1e27 100644 --- a/net/netsyms.c +++ b/net/netsyms.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include @@ -279,13 +278,4 @@ EXPORT_SYMBOL(wireless_spy_update); EXPORT_SYMBOL(linkwatch_fire_event); -/* ethtool.c */ -EXPORT_SYMBOL(ethtool_op_get_link); -EXPORT_SYMBOL(ethtool_op_get_tx_csum); -EXPORT_SYMBOL(ethtool_op_set_tx_csum); -EXPORT_SYMBOL(ethtool_op_get_sg); -EXPORT_SYMBOL(ethtool_op_set_sg); -EXPORT_SYMBOL(ethtool_op_get_tso); -EXPORT_SYMBOL(ethtool_op_set_tso); - #endif /* CONFIG_NET */ -- 2.53.0