ACPI: thinkpad-acpi: rate-limit CMOS/EC unsynced error messages
[safe/jmp/linux-2.6] / drivers / ata / pata_rb500_cf.c
index 5b23d79..4345174 100644 (file)
@@ -119,8 +119,8 @@ static irqreturn_t rb500_pata_irq_handler(int irq, void *dev_instance)
 
 static struct ata_port_operations rb500_pata_port_ops = {
        .inherits               = &ata_sff_port_ops,
-       .exec_command           = rb500_pata_exec_command,
-       .data_xfer              = rb500_pata_data_xfer,
+       .sff_exec_command       = rb500_pata_exec_command,
+       .sff_data_xfer          = rb500_pata_data_xfer,
        .freeze                 = rb500_pata_freeze,
        .thaw                   = rb500_pata_thaw,
 };
@@ -239,6 +239,9 @@ static __devexit int rb500_pata_driver_remove(struct platform_device *pdev)
        return 0;
 }
 
+/* work with hotplug and coldplug */
+MODULE_ALIAS("platform:" DRV_NAME);
+
 static struct platform_driver rb500_pata_platform_driver = {
        .probe          = rb500_pata_driver_probe,
        .remove         = __devexit_p(rb500_pata_driver_remove),