linux-mips
[Top] [All Lists]

[PATCH] Fix build in ide-dma.c

To: linux-mips@linux-mips.org
Subject: [PATCH] Fix build in ide-dma.c
From: David Daney <ddaney@avtrex.com>
Date: Mon, 14 Nov 2005 14:59:49 -0800
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: ddaney@avtrex.com
Sender: linux-mips-bounce@linux-mips.org
When in_drive_list was renamed to ide_in_drive_list, several
occurrences were missed.  This patch allows me to build.

David Daney


diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c
--- a/drivers/ide/ide-dma.c
+++ b/drivers/ide/ide-dma.c
@@ -665,7 +665,7 @@ int __ide_dma_bad_drive (ide_drive_t *dr
 {
        struct hd_driveid *id = drive->id;
 
-       int blacklist = in_drive_list(id, drive_blacklist);
+       int blacklist = ide_in_drive_list(id, drive_blacklist);
        if (blacklist) {
                printk(KERN_WARNING "%s: Disabling (U)DMA for %s 
(blacklisted)\n",
                                    drive->name, id->model);
@@ -679,7 +679,7 @@ EXPORT_SYMBOL(__ide_dma_bad_drive);
 int __ide_dma_good_drive (ide_drive_t *drive)
 {
        struct hd_driveid *id = drive->id;
-       return in_drive_list(id, drive_whitelist);
+       return ide_in_drive_list(id, drive_whitelist);
 }
 
 EXPORT_SYMBOL(__ide_dma_good_drive);

<Prev in Thread] Current Thread [Next in Thread>