All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix build in ide-dma.c
@ 2005-11-14 22:59 David Daney
  2005-11-14 23:05 ` David Daney
  2005-11-15 15:53 ` Ralf Baechle
  0 siblings, 2 replies; 3+ messages in thread
From: David Daney @ 2005-11-14 22:59 UTC (permalink / raw)
  To: linux-mips


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix build in ide-dma.c
  2005-11-14 22:59 [PATCH] Fix build in ide-dma.c David Daney
@ 2005-11-14 23:05 ` David Daney
  2005-11-15 15:53 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: David Daney @ 2005-11-14 23:05 UTC (permalink / raw)
  To: linux-mips

David Daney wrote:
> When in_drive_list was renamed to ide_in_drive_list, several
> occurrences were missed.  This patch allows me to build.
> 
> David Daney
> 

I guess I should probably add:

Signed-off-by: David Daney <ddaney@avtrex.com>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix build in ide-dma.c
  2005-11-14 22:59 [PATCH] Fix build in ide-dma.c David Daney
  2005-11-14 23:05 ` David Daney
@ 2005-11-15 15:53 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2005-11-15 15:53 UTC (permalink / raw)
  To: David Daney; +Cc: linux-mips

On Mon, Nov 14, 2005 at 02:59:49PM -0800, David Daney wrote:

> When in_drive_list was renamed to ide_in_drive_list, several
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-15 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-14 22:59 [PATCH] Fix build in ide-dma.c David Daney
2005-11-14 23:05 ` David Daney
2005-11-15 15:53 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.