diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-22 14:27:05 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-22 14:27:05 -0400 |
commit | 057ace5e79da9ebf2aa82833cfea825533ac06fb (patch) | |
tree | f27ed6cbd9a185041862471ef421e6415e099344 /drivers/scsi/sata_qstor.c | |
parent | cf482935c6abe5245e481213c6e6df808c976f56 (diff) |
libata: const-ification bombing run
Enforce access rules where appropriate.
If the compiler is smart enough, this may buy us an optimization or two
as a side effect.
Diffstat (limited to 'drivers/scsi/sata_qstor.c')
-rw-r--r-- | drivers/scsi/sata_qstor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sata_qstor.c b/drivers/scsi/sata_qstor.c index e1c1dae27c52..250dafa6bc36 100644 --- a/drivers/scsi/sata_qstor.c +++ b/drivers/scsi/sata_qstor.c | |||
@@ -147,7 +147,7 @@ static Scsi_Host_Template qs_ata_sht = { | |||
147 | .bios_param = ata_std_bios_param, | 147 | .bios_param = ata_std_bios_param, |
148 | }; | 148 | }; |
149 | 149 | ||
150 | static struct ata_port_operations qs_ata_ops = { | 150 | static const struct ata_port_operations qs_ata_ops = { |
151 | .port_disable = ata_port_disable, | 151 | .port_disable = ata_port_disable, |
152 | .tf_load = ata_tf_load, | 152 | .tf_load = ata_tf_load, |
153 | .tf_read = ata_tf_read, | 153 | .tf_read = ata_tf_read, |