|
@@ -166,7 +166,7 @@ static const struct ata_port_info vt6420_port_info = {
|
|
.port_ops = &vt6420_sata_ops,
|
|
.port_ops = &vt6420_sata_ops,
|
|
};
|
|
};
|
|
|
|
|
|
-static struct ata_port_info vt6421_sport_info = {
|
|
|
|
|
|
+static const struct ata_port_info vt6421_sport_info = {
|
|
.flags = ATA_FLAG_SATA,
|
|
.flags = ATA_FLAG_SATA,
|
|
.pio_mask = ATA_PIO4,
|
|
.pio_mask = ATA_PIO4,
|
|
.mwdma_mask = ATA_MWDMA2,
|
|
.mwdma_mask = ATA_MWDMA2,
|
|
@@ -174,7 +174,7 @@ static struct ata_port_info vt6421_sport_info = {
|
|
.port_ops = &vt6421_sata_ops,
|
|
.port_ops = &vt6421_sata_ops,
|
|
};
|
|
};
|
|
|
|
|
|
-static struct ata_port_info vt6421_pport_info = {
|
|
|
|
|
|
+static const struct ata_port_info vt6421_pport_info = {
|
|
.flags = ATA_FLAG_SLAVE_POSS,
|
|
.flags = ATA_FLAG_SLAVE_POSS,
|
|
.pio_mask = ATA_PIO4,
|
|
.pio_mask = ATA_PIO4,
|
|
/* No MWDMA */
|
|
/* No MWDMA */
|
|
@@ -182,7 +182,7 @@ static struct ata_port_info vt6421_pport_info = {
|
|
.port_ops = &vt6421_pata_ops,
|
|
.port_ops = &vt6421_pata_ops,
|
|
};
|
|
};
|
|
|
|
|
|
-static struct ata_port_info vt8251_port_info = {
|
|
|
|
|
|
+static const struct ata_port_info vt8251_port_info = {
|
|
.flags = ATA_FLAG_SATA | ATA_FLAG_SLAVE_POSS,
|
|
.flags = ATA_FLAG_SATA | ATA_FLAG_SLAVE_POSS,
|
|
.pio_mask = ATA_PIO4,
|
|
.pio_mask = ATA_PIO4,
|
|
.mwdma_mask = ATA_MWDMA2,
|
|
.mwdma_mask = ATA_MWDMA2,
|