From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> If you apply both libata-clean-up-sff-init-mess.patch and pata_acpi-restore-driver.patch, you'll need to add this patch to pata_acpi-restore-driver.patch Cc: Tejun Heo <htejun@xxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/ata/pata_acpi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/ata/pata_acpi.c~pata_acpi-restore-driver-vs-libata-clean-up-sff-init-mess-fix drivers/ata/pata_acpi.c --- a/drivers/ata/pata_acpi.c~pata_acpi-restore-driver-vs-libata-clean-up-sff-init-mess-fix +++ a/drivers/ata/pata_acpi.c @@ -371,7 +371,7 @@ static const struct ata_port_operations static int pacpi_init_one (struct pci_dev *pdev, const struct pci_device_id *id) { - static struct ata_port_info info = { + static const struct ata_port_info info = { .sht = &pacpi_sht, .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, @@ -381,11 +381,11 @@ static int pacpi_init_one (struct pci_de .port_ops = &pacpi_ops, }; - struct ata_port_info *port_info[1] = { &info }; + const struct ata_port_info *ppi[] = { &info, NULL }; if (!ata_pata_acpi_present(pdev)) return -ENODEV; - return ata_pci_init_one(pdev, port_info, 1); + return ata_pci_init_one(pdev, ppi); } static const struct pci_device_id pacpi_pci_tbl[] = { _ - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html