Commit b63d3953 authored by Jeff Garzik's avatar Jeff Garzik Committed by Jeff Garzik

[libata] pata_hpt3x3: correct _freeze() function declaration

Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 5c18c4d2
...@@ -96,7 +96,7 @@ static void hpt3x3_set_dmamode(struct ata_port *ap, struct ata_device *adev) ...@@ -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 * 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; void __iomem *mmio = ap->ioaddr.bmdma_addr;
...@@ -296,4 +296,4 @@ MODULE_DEVICE_TABLE(pci, hpt3x3); ...@@ -296,4 +296,4 @@ MODULE_DEVICE_TABLE(pci, hpt3x3);
MODULE_VERSION(DRV_VERSION); MODULE_VERSION(DRV_VERSION);
module_init(hpt3x3_init); module_init(hpt3x3_init);
module_exit(hpt3x3_exit); module_exit(hpt3x3_exit);
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment