diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2008-04-24 22:36:01 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-27 13:20:00 -0400 |
commit | 980b306a297725d4f25c779ca15086de757acadf (patch) | |
tree | 74a8c1482fa49eaec5100438c75735cab83adf2a /drivers/scsi/aic7xxx/aic79xx.h | |
parent | d1d7b19d433188e94fc87cc7ca66363cd77a0bba (diff) |
[SCSI] aic7xxx: add const
This patch adds more const keywords where appropriate.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx.h')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx.h b/drivers/scsi/aic7xxx/aic79xx.h index 9c1484453d5f..be5558ab84ea 100644 --- a/drivers/scsi/aic7xxx/aic79xx.h +++ b/drivers/scsi/aic7xxx/aic79xx.h | |||
@@ -815,7 +815,7 @@ struct ahd_tmode_tstate { | |||
815 | struct ahd_phase_table_entry { | 815 | struct ahd_phase_table_entry { |
816 | uint8_t phase; | 816 | uint8_t phase; |
817 | uint8_t mesg_out; /* Message response to parity errors */ | 817 | uint8_t mesg_out; /* Message response to parity errors */ |
818 | char *phasemsg; | 818 | const char *phasemsg; |
819 | }; | 819 | }; |
820 | 820 | ||
821 | /************************** Serial EEPROM Format ******************************/ | 821 | /************************** Serial EEPROM Format ******************************/ |
@@ -1335,9 +1335,9 @@ extern const int ahd_num_aic7770_devs; | |||
1335 | /******************************************************************************/ | 1335 | /******************************************************************************/ |
1336 | 1336 | ||
1337 | /***************************** PCI Front End *********************************/ | 1337 | /***************************** PCI Front End *********************************/ |
1338 | struct ahd_pci_identity *ahd_find_pci_device(ahd_dev_softc_t); | 1338 | const struct ahd_pci_identity *ahd_find_pci_device(ahd_dev_softc_t); |
1339 | int ahd_pci_config(struct ahd_softc *, | 1339 | int ahd_pci_config(struct ahd_softc *, |
1340 | struct ahd_pci_identity *); | 1340 | const struct ahd_pci_identity *); |
1341 | int ahd_pci_test_register_access(struct ahd_softc *); | 1341 | int ahd_pci_test_register_access(struct ahd_softc *); |
1342 | #ifdef CONFIG_PM | 1342 | #ifdef CONFIG_PM |
1343 | void ahd_pci_suspend(struct ahd_softc *); | 1343 | void ahd_pci_suspend(struct ahd_softc *); |