summaryrefslogtreecommitdiff
path: root/drivers/scsi/aic94xx/aic94xx_sds.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-24 00:05:45 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 14:26:15 +0100
commit0bc202e0fd84b8c8d042bdf9f0995e1e47bdbf59 (patch)
tree697225daea137152e1aa63bc3d46843438752dae /drivers/scsi/aic94xx/aic94xx_sds.h
parent3b216d186c6df2642b397dbb67fbb7884ead0d88 (diff)
aic94xx: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_sds.h')
-rw-r--r--drivers/scsi/aic94xx/aic94xx_sds.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_sds.h b/drivers/scsi/aic94xx/aic94xx_sds.h
index bb9795a04dc3..a06dc0114b8c 100644
--- a/drivers/scsi/aic94xx/aic94xx_sds.h
+++ b/drivers/scsi/aic94xx/aic94xx_sds.h
@@ -110,9 +110,9 @@ struct bios_file_header {
};
int asd_verify_flash_seg(struct asd_ha_struct *asd_ha,
- void *src, u32 dest_offset, u32 bytes_to_verify);
+ const void *src, u32 dest_offset, u32 bytes_to_verify);
int asd_write_flash_seg(struct asd_ha_struct *asd_ha,
- void *src, u32 dest_offset, u32 bytes_to_write);
+ const void *src, u32 dest_offset, u32 bytes_to_write);
int asd_chk_write_status(struct asd_ha_struct *asd_ha,
u32 sector_addr, u8 erase_flag);
int asd_check_flash_type(struct asd_ha_struct *asd_ha);