[PATCH 4/9] ixgb: move externs out of .c files

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <jeff@...>
Cc: <netdev@...>, <e1000-devel@...>
Date: Friday, March 21, 2008 - 2:06 pm

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
---

 drivers/net/ixgb/ixgb.h         |   10 ++++++++++
 drivers/net/ixgb/ixgb_ethtool.c |    9 ---------
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/drivers/net/ixgb/ixgb.h b/drivers/net/ixgb/ixgb.h
index fad4e99..a95ab55 100644
--- a/drivers/net/ixgb/ixgb.h
+++ b/drivers/net/ixgb/ixgb.h
@@ -212,4 +212,14 @@ extern void ixgb_set_ethtool_ops(struct net_device *netdev);
 extern char ixgb_driver_name[];
 extern const char ixgb_driver_version[];
 
+extern int ixgb_up(struct ixgb_adapter *adapter);
+extern void ixgb_down(struct ixgb_adapter *adapter, bool kill_watchdog);
+extern void ixgb_reset(struct ixgb_adapter *adapter);
+extern int ixgb_setup_rx_resources(struct ixgb_adapter *adapter);
+extern int ixgb_setup_tx_resources(struct ixgb_adapter *adapter);
+extern void ixgb_free_rx_resources(struct ixgb_adapter *adapter);
+extern void ixgb_free_tx_resources(struct ixgb_adapter *adapter);
+extern void ixgb_update_stats(struct ixgb_adapter *adapter);
+
+
 #endif /* _IXGB_H_ */
diff --git a/drivers/net/ixgb/ixgb_ethtool.c b/drivers/net/ixgb/ixgb_ethtool.c
index 5d61c2e..45ddf80 100644
--- a/drivers/net/ixgb/ixgb_ethtool.c
+++ b/drivers/net/ixgb/ixgb_ethtool.c
@@ -32,15 +32,6 @@
 
 #include <asm/uaccess.h>
 
-extern int ixgb_up(struct ixgb_adapter *adapter);
-extern void ixgb_down(struct ixgb_adapter *adapter, bool kill_watchdog);
-extern void ixgb_reset(struct ixgb_adapter *adapter);
-extern int ixgb_setup_rx_resources(struct ixgb_adapter *adapter);
-extern int ixgb_setup_tx_resources(struct ixgb_adapter *adapter);
-extern void ixgb_free_rx_resources(struct ixgb_adapter *adapter);
-extern void ixgb_free_tx_resources(struct ixgb_adapter *adapter);
-extern void ixgb_update_stats(struct ixgb_adapter *adapter);
-
 #define IXGB_ALL_RAR_ENTRIES 16
 
 struct ixgb_stats {

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/9] e1000: Convert boolean_t to bool, Auke Kok, (Fri Mar 21, 2:06 pm)
Re: [PATCH 1/9] e1000: Convert boolean_t to bool, Jeff Garzik, (Wed Mar 26, 12:34 am)
[PATCH 8/9] ixgb: remove irq_sem, Auke Kok, (Fri Mar 21, 2:07 pm)
[PATCH 9/9] ixgb: remove unused variable, Auke Kok, (Fri Mar 21, 2:07 pm)
[PATCH 6/9] e1000e: remove irq_sem, Auke Kok, (Fri Mar 21, 2:06 pm)
[PATCH 3/9] ixgb: convert boolean_t to bool, Auke Kok, (Fri Mar 21, 2:06 pm)
[PATCH 2/9] ixgb: add explicit state checking, Auke Kok, (Fri Mar 21, 2:06 pm)
[PATCH 7/9] e1000: remove irq_sem, Auke Kok, (Fri Mar 21, 2:06 pm)
[PATCH 4/9] ixgb: move externs out of .c files, Auke Kok, (Fri Mar 21, 2:06 pm)