Subject: [PATCH] Fix build in ide-dma.c

From: David Daney <[email-masked]>
Date: Mon, 14 Nov 2005 14:59:49 -0800

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);

---

From: David Daney <[email-masked]>
Date: Mon, 14 Nov 2005 15:05:06 -0800

> occurrences were missed.  This patch allows me to build.

I guess I should probably add:

Signed-off-by: David Daney <[email-masked]>

---

From: Ralf Baechle <[email-masked]>
Date: Tue, 15 Nov 2005 15:53:25 +0000

> occurrences were missed.  This patch allows me to build.

Thanks, applied.

The ide-dma stuff is part of the work on polishing the remaining drivers
for merging to kernel.org.  I hope I can get rid of that kind of stuff
soon ...

  Ralf