]> git.hungrycats.org Git - linux/commitdiff
o NET: move net/core/ethtool.c EXPORT_SYMBOLs from net/netsyms.c
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sun, 28 Sep 2003 14:58:07 +0000 (11:58 -0300)
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sun, 28 Sep 2003 14:58:07 +0000 (11:58 -0300)
net/core/ethtool.c
net/netsyms.c

index 2159f4df377e987f8f6021373d30a12c1731dc10..35f27196b1541a78e03ba2eb181374d550d02a82 100644 (file)
@@ -9,6 +9,7 @@
  * It's GPL, stupid.
  */
 
+#include <linux/module.h>
 #include <linux/types.h>
 #include <linux/errno.h>
 #include <linux/ethtool.h>
@@ -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);
index 39420374806c7976af82eed3d5e694cabaaa09ab..f37dfdeed1e27f6bd3f755a06ce83df4e809aae3 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/fcdevice.h>
 #include <linux/ioport.h>
 #include <linux/tty.h>
-#include <linux/ethtool.h>
 #include <net/snmp.h>
 #include <net/dst.h>
 #include <net/checksum.h>
@@ -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 */