diff options
author | Roland Dreier <rdreier@cisco.com> | 2010-04-21 04:59:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-22 02:00:43 -0400 |
commit | de498c89254b5b89f676e9c9292396d5ebf52bf2 (patch) | |
tree | 2976ebf664011f5260ef6fe91f527afe4b6c3495 /drivers/net/cxgb4/cxgb4.h | |
parent | 62718b328f972f1559feb96dfccc15fc9f4c9a2c (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.h | 2 |
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); |
652 | int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port); | 652 | int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port); |
653 | int t4_seeprom_wp(struct adapter *adapter, bool enable); | 653 | int t4_seeprom_wp(struct adapter *adapter, bool enable); |
654 | int t4_read_flash(struct adapter *adapter, unsigned int addr, | ||
655 | unsigned int nwords, u32 *data, int byte_oriented); | ||
656 | int t4_load_fw(struct adapter *adapter, const u8 *fw_data, unsigned int size); | 654 | int t4_load_fw(struct adapter *adapter, const u8 *fw_data, unsigned int size); |
657 | int t4_check_fw_version(struct adapter *adapter); | 655 | int t4_check_fw_version(struct adapter *adapter); |
658 | int t4_prep_adapter(struct adapter *adapter); | 656 | int t4_prep_adapter(struct adapter *adapter); |