aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic7xxx_osm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_osm.c')
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_osm.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c
index 01118c3f56b..fd2b9785ff4 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_osm.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c
@@ -511,13 +511,11 @@ ahc_linux_info(struct Scsi_Host *host)
511 bp = &buffer[0]; 511 bp = &buffer[0];
512 ahc = *(struct ahc_softc **)host->hostdata; 512 ahc = *(struct ahc_softc **)host->hostdata;
513 memset(bp, 0, sizeof(buffer)); 513 memset(bp, 0, sizeof(buffer));
514 strcpy(bp, "Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev "); 514 strcpy(bp, "Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev " AIC7XXX_DRIVER_VERSION "\n"
515 strcat(bp, AIC7XXX_DRIVER_VERSION); 515 " <");
516 strcat(bp, "\n");
517 strcat(bp, " <");
518 strcat(bp, ahc->description); 516 strcat(bp, ahc->description);
519 strcat(bp, ">\n"); 517 strcat(bp, ">\n"
520 strcat(bp, " "); 518 " ");
521 ahc_controller_info(ahc, ahc_info); 519 ahc_controller_info(ahc, ahc_info);
522 strcat(bp, ahc_info); 520 strcat(bp, ahc_info);
523 strcat(bp, "\n"); 521 strcat(bp, "\n");
@@ -1033,7 +1031,7 @@ aic7xxx_setup(char *s)
1033 char *p; 1031 char *p;
1034 char *end; 1032 char *end;
1035 1033
1036 static struct { 1034 static const struct {
1037 const char *name; 1035 const char *name;
1038 uint32_t *flag; 1036 uint32_t *flag;
1039 } options[] = { 1037 } options[] = {