summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic94xx/aic94xx_sds.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-24 01:05:45 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 15:26:15 +0200
commit0bc202e0fd84b8c8d042bdf9f0995e1e47bdbf59 (patch)
tree697225daea137152e1aa63bc3d46843438752dae /drivers/scsi/aic94xx/aic94xx_sds.h
parentcxacru: treat firmware data as const (diff)
downloadlinux-0bc202e0fd84b8c8d042bdf9f0995e1e47bdbf59.tar.xz
linux-0bc202e0fd84b8c8d042bdf9f0995e1e47bdbf59.zip
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);