diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 21:21:49 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 21:21:49 +0200 |
commit | f8c4bd0ab2b8783c0f080957781e9f70bee48eaa (patch) | |
tree | b082fb55336f996b56c95d15072b1b4629b1ba12 /drivers/ide/pci | |
parent | 135721446144af005109c25eeacca4fdddcd9a66 (diff) | |
download | linux-3.10-f8c4bd0ab2b8783c0f080957781e9f70bee48eaa.tar.gz linux-3.10-f8c4bd0ab2b8783c0f080957781e9f70bee48eaa.tar.bz2 linux-3.10-f8c4bd0ab2b8783c0f080957781e9f70bee48eaa.zip |
ide: pass 'hwif *' instead of 'drive *' to ->OUTBSYNC method
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci')
-rw-r--r-- | drivers/ide/pci/scc_pata.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ide/pci/scc_pata.c b/drivers/ide/pci/scc_pata.c index 133053c7a48..32eb0877fce 100644 --- a/drivers/ide/pci/scc_pata.c +++ b/drivers/ide/pci/scc_pata.c @@ -148,11 +148,8 @@ static void scc_ide_outb(u8 addr, unsigned long port) out_be32((void*)port, addr); } -static void -scc_ide_outbsync(ide_drive_t * drive, u8 addr, unsigned long port) +static void scc_ide_outbsync(ide_hwif_t *hwif, u8 addr, unsigned long port) { - ide_hwif_t *hwif = HWIF(drive); - out_be32((void*)port, addr); eieio(); in_be32((void*)(hwif->dma_base + 0x01c)); |