aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2009-01-08 16:28:21 -0500
committerJeff Garzik <jgarzik@redhat.com>2009-01-08 16:28:21 -0500
commitb63d3953251f144b75993374d752e0d57034c8bb (patch)
tree9f009843b3283a45521c35377dc626d145e94850
parent5c18c4d28ba9a29203c1dc6b7c64df63ca00938a (diff)
[libata] pata_hpt3x3: correct _freeze() function declaration
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r--drivers/ata/pata_hpt3x3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_hpt3x3.c b/drivers/ata/pata_hpt3x3.c
index 1c9016edf87..f19cc645881 100644
--- a/drivers/ata/pata_hpt3x3.c
+++ b/drivers/ata/pata_hpt3x3.c
@@ -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);