[libata] pata_hpt3x3: correct _freeze() function declaration
authorJeff Garzik <jeff@garzik.org>
Thu, 8 Jan 2009 21:28:21 +0000 (16:28 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 8 Jan 2009 21:28:21 +0000 (16:28 -0500)
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_hpt3x3.c

index 1c9016edf87a9f1b4cd26460f2a332b2e92ce214..f19cc645881adbb22652c4d8ee1add7d837f6d00 100644 (file)
@@ -96,7 +96,7 @@ static void hpt3x3_set_dmamode(struct ata_port *ap, struct ata_device *adev)
  *     writing to the control register or the chip will hang
  */
 
-static int hpt3x3_freeze(struct ata_port *ap)
+static void hpt3x3_freeze(struct ata_port *ap)
 {
        void __iomem *mmio = ap->ioaddr.bmdma_addr;
 
@@ -296,4 +296,4 @@ MODULE_DEVICE_TABLE(pci, hpt3x3);
 MODULE_VERSION(DRV_VERSION);
 
 module_init(hpt3x3_init);
-module_exit(hpt3x3_exit);
\ No newline at end of file
+module_exit(hpt3x3_exit);