diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_osm.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index c5a354b39d88..01118c3f56b5 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c | |||
@@ -2386,7 +2386,7 @@ static void ahc_linux_set_period(struct scsi_target *starget, int period) | |||
2386 | unsigned int ppr_options = tinfo->goal.ppr_options; | 2386 | unsigned int ppr_options = tinfo->goal.ppr_options; |
2387 | unsigned long flags; | 2387 | unsigned long flags; |
2388 | unsigned long offset = tinfo->goal.offset; | 2388 | unsigned long offset = tinfo->goal.offset; |
2389 | struct ahc_syncrate *syncrate; | 2389 | const struct ahc_syncrate *syncrate; |
2390 | 2390 | ||
2391 | if (offset == 0) | 2391 | if (offset == 0) |
2392 | offset = MAX_OFFSET; | 2392 | offset = MAX_OFFSET; |
@@ -2430,7 +2430,7 @@ static void ahc_linux_set_offset(struct scsi_target *starget, int offset) | |||
2430 | unsigned int ppr_options = 0; | 2430 | unsigned int ppr_options = 0; |
2431 | unsigned int period = 0; | 2431 | unsigned int period = 0; |
2432 | unsigned long flags; | 2432 | unsigned long flags; |
2433 | struct ahc_syncrate *syncrate = NULL; | 2433 | const struct ahc_syncrate *syncrate = NULL; |
2434 | 2434 | ||
2435 | ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, | 2435 | ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, |
2436 | starget->channel + 'A', ROLE_INITIATOR); | 2436 | starget->channel + 'A', ROLE_INITIATOR); |
@@ -2460,7 +2460,7 @@ static void ahc_linux_set_dt(struct scsi_target *starget, int dt) | |||
2460 | unsigned int period = tinfo->goal.period; | 2460 | unsigned int period = tinfo->goal.period; |
2461 | unsigned int width = tinfo->goal.width; | 2461 | unsigned int width = tinfo->goal.width; |
2462 | unsigned long flags; | 2462 | unsigned long flags; |
2463 | struct ahc_syncrate *syncrate; | 2463 | const struct ahc_syncrate *syncrate; |
2464 | 2464 | ||
2465 | if (dt && spi_max_width(starget)) { | 2465 | if (dt && spi_max_width(starget)) { |
2466 | ppr_options |= MSG_EXT_PPR_DT_REQ; | 2466 | ppr_options |= MSG_EXT_PPR_DT_REQ; |