Skip to content

Commit

Permalink
[libata] pata_hpt3x3: correct _freeze() function declaration
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Jeff Garzik authored and Jeff Garzik committed Jan 8, 2009
1 parent 5c18c4d commit b63d395
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/ata/pata_hpt3x3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -296,4 +296,4 @@ MODULE_DEVICE_TABLE(pci, hpt3x3);
MODULE_VERSION(DRV_VERSION);

module_init(hpt3x3_init);
module_exit(hpt3x3_exit);
module_exit(hpt3x3_exit);

0 comments on commit b63d395

Please sign in to comment.