|
@@ -455,7 +455,7 @@ struct iwl_trans_ops {
|
|
|
int (*read_mem)(struct iwl_trans *trans, u32 addr,
|
|
|
void *buf, int dwords);
|
|
|
int (*write_mem)(struct iwl_trans *trans, u32 addr,
|
|
|
- void *buf, int dwords);
|
|
|
+ const void *buf, int dwords);
|
|
|
void (*configure)(struct iwl_trans *trans,
|
|
|
const struct iwl_trans_config *trans_cfg);
|
|
|
void (*set_pmi)(struct iwl_trans *trans, bool state);
|
|
@@ -761,7 +761,7 @@ static inline u32 iwl_trans_read_mem32(struct iwl_trans *trans, u32 addr)
|
|
|
}
|
|
|
|
|
|
static inline int iwl_trans_write_mem(struct iwl_trans *trans, u32 addr,
|
|
|
- void *buf, int dwords)
|
|
|
+ const void *buf, int dwords)
|
|
|
{
|
|
|
return trans->ops->write_mem(trans, addr, buf, dwords);
|
|
|
}
|