aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/common.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-23 19:10:55 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 09:26:26 -0400
commit2c733a16784021c7c6a0c10e800937f0645d0a36 (patch)
tree4da2e92ab2a83f796c30b0df9a51aea68d0073c7 /drivers/net/cxgb3/common.h
parentafd636e94d3cd99697f7291dbf957f0ca8a7544e (diff)
cxgb3: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/net/cxgb3/common.h')
-rw-r--r--drivers/net/cxgb3/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h
index 579bee42a5cb..8e8ebd788537 100644
--- a/drivers/net/cxgb3/common.h
+++ b/drivers/net/cxgb3/common.h
@@ -686,8 +686,9 @@ int t3_seeprom_write(struct adapter *adapter, u32 addr, __le32 data);
686int t3_seeprom_wp(struct adapter *adapter, int enable); 686int t3_seeprom_wp(struct adapter *adapter, int enable);
687int t3_get_tp_version(struct adapter *adapter, u32 *vers); 687int t3_get_tp_version(struct adapter *adapter, u32 *vers);
688int t3_check_tpsram_version(struct adapter *adapter, int *must_load); 688int t3_check_tpsram_version(struct adapter *adapter, int *must_load);
689int t3_check_tpsram(struct adapter *adapter, u8 *tp_ram, unsigned int size); 689int t3_check_tpsram(struct adapter *adapter, const u8 *tp_ram,
690int t3_set_proto_sram(struct adapter *adap, u8 *data); 690 unsigned int size);
691int t3_set_proto_sram(struct adapter *adap, const u8 *data);
691int t3_read_flash(struct adapter *adapter, unsigned int addr, 692int t3_read_flash(struct adapter *adapter, unsigned int addr,
692 unsigned int nwords, u32 *data, int byte_oriented); 693 unsigned int nwords, u32 *data, int byte_oriented);
693int t3_load_fw(struct adapter *adapter, const u8 * fw_data, unsigned int size); 694int t3_load_fw(struct adapter *adapter, const u8 * fw_data, unsigned int size);