summaryrefslogtreecommitdiffstats
path: root/drivers/ide/cs5535.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2010-01-19 01:45:29 -0800
committerDavid S. Miller <davem@davemloft.net>2010-01-19 01:45:29 -0800
commit8776168ca2151850164af1de5565d01f7b8b2c53 (patch)
tree28a44a3a649e1ab98f89674a06cc4c135a16d243 /drivers/ide/cs5535.c
parente085b3cae85af47eb0a3eda3186bd898310fb322 (diff)
downloadlinux-8776168ca2151850164af1de5565d01f7b8b2c53.tar.gz
linux-8776168ca2151850164af1de5565d01f7b8b2c53.tar.bz2
linux-8776168ca2151850164af1de5565d01f7b8b2c53.zip
ide: change ->set_dma_mode method parameters
Change ->set_dma_mode method parameters to match ->set_dmamode method used in struct ata_port_operations. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/cs5535.c')
-rw-r--r--drivers/ide/cs5535.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/cs5535.c b/drivers/ide/cs5535.c
index 7974415ea89f..740002b2f3e8 100644
--- a/drivers/ide/cs5535.c
+++ b/drivers/ide/cs5535.c
@@ -129,15 +129,15 @@ static void cs5535_set_speed(ide_drive_t *drive, const u8 speed)
/**
* cs5535_set_dma_mode - set host controller for DMA mode
+ * @hwif: port
* @drive: drive
- * @speed: DMA mode
*
* Programs the chipset for DMA mode.
*/
-static void cs5535_set_dma_mode(ide_drive_t *drive, const u8 speed)
+static void cs5535_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive)
{
- cs5535_set_speed(drive, speed);
+ cs5535_set_speed(drive, drive->dma_mode);
}
/**