]> Pileus Git - ~andy/linux/blobdiff - drivers/ata/pata_cs5530.c
[PATCH] pata-qdi: fix le32 in data_xfer
[~andy/linux] / drivers / ata / pata_cs5530.c
index f3d8a3bc1e788e5e08e58002f53ae22d576852d5..a07cc81ef7916dfdc8814ec298ed187b35403c71 100644 (file)
@@ -207,7 +207,7 @@ static struct ata_port_operations cs5530_port_ops = {
 
        .qc_prep        = ata_qc_prep,
        .qc_issue       = cs5530_qc_issue_prot,
-       .eng_timeout    = ata_eng_timeout,
+
        .data_xfer      = ata_pio_data_xfer,
 
        .irq_handler    = ata_interrupt,
@@ -353,13 +353,14 @@ fail_put:
        return -ENODEV;
 }
 
-static struct pci_device_id cs5530[] = {
-       { PCI_DEVICE(PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5530_IDE), },
-       { 0, },
+static const struct pci_device_id cs5530[] = {
+       { PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5530_IDE), },
+
+       { },
 };
 
 static struct pci_driver cs5530_pci_driver = {
-        .name          = DRV_NAME,
+       .name           = DRV_NAME,
        .id_table       = cs5530,
        .probe          = cs5530_init_one,
        .remove         = ata_pci_remove_one
@@ -370,13 +371,11 @@ static int __init cs5530_init(void)
        return pci_register_driver(&cs5530_pci_driver);
 }
 
-
 static void __exit cs5530_exit(void)
 {
        pci_unregister_driver(&cs5530_pci_driver);
 }
 
-
 MODULE_AUTHOR("Alan Cox");
 MODULE_DESCRIPTION("low-level driver for the Cyrix/NS/AMD 5530");
 MODULE_LICENSE("GPL");