Skip to content

Commit

Permalink
m68k: Fix falconide `data_adr' typo
Browse files Browse the repository at this point in the history
    commit 9567b34
    Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    Date:   Mon Apr 28 23:44:36 2008 +0200

    ide: merge ->atapi_*put_bytes and ->ata_*put_data methods

introduced a typo (`data_adr' instead of `data_addr'), leading to a compile
failure.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed May 5, 2008
1 parent 5717922 commit ab1a852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/legacy/falconide.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static void falconide_output_data(ide_drive_t *drive, struct request *rq,
unsigned long data_addr = drive->hwif->io_ports.data_addr;

if (drive->media == ide_disk && rq && rq->cmd_type == REQ_TYPE_FS)
return outsw(data_adr, buf, (len + 1) / 2);
return outsw(data_addr, buf, (len + 1) / 2);

outsw_swapw(data_addr, buf, (len + 1) / 2);
}
Expand Down

0 comments on commit ab1a852

Please sign in to comment.