diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_osm_pci.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm_pci.c b/drivers/scsi/aic7xxx/aic79xx_osm_pci.c index 9e0d7bdc889e..6593056867f6 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm_pci.c +++ b/drivers/scsi/aic7xxx/aic79xx_osm_pci.c | |||
@@ -49,7 +49,7 @@ | |||
49 | ID2C(x), \ | 49 | ID2C(x), \ |
50 | ID2C(IDIROC(x)) | 50 | ID2C(IDIROC(x)) |
51 | 51 | ||
52 | static struct pci_device_id ahd_linux_pci_id_table[] = { | 52 | static const struct pci_device_id ahd_linux_pci_id_table[] = { |
53 | /* aic7901 based controllers */ | 53 | /* aic7901 based controllers */ |
54 | ID(ID_AHA_29320A), | 54 | ID(ID_AHA_29320A), |
55 | ID(ID_AHA_29320ALP), | 55 | ID(ID_AHA_29320ALP), |
@@ -159,7 +159,7 @@ ahd_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
159 | char buf[80]; | 159 | char buf[80]; |
160 | struct ahd_softc *ahd; | 160 | struct ahd_softc *ahd; |
161 | ahd_dev_softc_t pci; | 161 | ahd_dev_softc_t pci; |
162 | struct ahd_pci_identity *entry; | 162 | const struct ahd_pci_identity *entry; |
163 | char *name; | 163 | char *name; |
164 | int error; | 164 | int error; |
165 | struct device *dev = &pdev->dev; | 165 | struct device *dev = &pdev->dev; |