summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ahci.c
diff options
context:
space:
mode:
authorJeff Garzik2005-10-22 20:27:05 +0200
committerJeff Garzik2005-10-22 20:27:05 +0200
commit057ace5e79da9ebf2aa82833cfea825533ac06fb (patch)
treef27ed6cbd9a185041862471ef421e6415e099344 /drivers/scsi/ahci.c
parentlibata: turn on block layer clustering (diff)
downloadkernel-qcow2-linux-057ace5e79da9ebf2aa82833cfea825533ac06fb.tar.gz
kernel-qcow2-linux-057ace5e79da9ebf2aa82833cfea825533ac06fb.tar.xz
kernel-qcow2-linux-057ace5e79da9ebf2aa82833cfea825533ac06fb.zip
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/ahci.c')
-rw-r--r--drivers/scsi/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c
index cfa22e4ee547..fe8187d6f58b 100644
--- a/drivers/scsi/ahci.c
+++ b/drivers/scsi/ahci.c
@@ -216,7 +216,7 @@ static Scsi_Host_Template ahci_sht = {
.ordered_flush = 1,
};
-static struct ata_port_operations ahci_ops = {
+static const struct ata_port_operations ahci_ops = {
.port_disable = ata_port_disable,
.check_status = ahci_check_status,