aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4/cxgb4.h
diff options
context:
space:
mode:
authorRoland Dreier <rdreier@cisco.com>2010-04-21 04:59:17 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-22 02:00:43 -0400
commitde498c89254b5b89f676e9c9292396d5ebf52bf2 (patch)
tree2976ebf664011f5260ef6fe91f527afe4b6c3495 /drivers/net/cxgb4/cxgb4.h
parent62718b328f972f1559feb96dfccc15fc9f4c9a2c (diff)
cxgb4: Make unnecessarily global functions static
Also put t4_write_indirect() inside "#if 0" to avoid a "defined but not used" compile warning. Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4/cxgb4.h')
-rw-r--r--drivers/net/cxgb4/cxgb4.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/cxgb4/cxgb4.h b/drivers/net/cxgb4/cxgb4.h
index 3d8ff4889b56..4b35dc74341c 100644
--- a/drivers/net/cxgb4/cxgb4.h
+++ b/drivers/net/cxgb4/cxgb4.h
@@ -651,8 +651,6 @@ int t4_link_start(struct adapter *adap, unsigned int mbox, unsigned int port,
651 struct link_config *lc); 651 struct link_config *lc);
652int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port); 652int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port);
653int t4_seeprom_wp(struct adapter *adapter, bool enable); 653int t4_seeprom_wp(struct adapter *adapter, bool enable);
654int t4_read_flash(struct adapter *adapter, unsigned int addr,
655 unsigned int nwords, u32 *data, int byte_oriented);
656int t4_load_fw(struct adapter *adapter, const u8 *fw_data, unsigned int size); 654int t4_load_fw(struct adapter *adapter, const u8 *fw_data, unsigned int size);
657int t4_check_fw_version(struct adapter *adapter); 655int t4_check_fw_version(struct adapter *adapter);
658int t4_prep_adapter(struct adapter *adapter); 656int t4_prep_adapter(struct adapter *adapter);