public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pata_platform: fallout from set_mode() change
@ 2007-01-30 13:23 Al Viro
  2007-01-30 13:36 ` Jeff Garzik
  2007-01-30 16:13 ` Alan
  0 siblings, 2 replies; 5+ messages in thread
From: Al Viro @ 2007-01-30 13:23 UTC (permalink / raw)
  To: torvalds; +Cc: jgarzik, linux-kernel


Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 drivers/ata/pata_platform.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c
index 443b1d8..40ae11c 100644
--- a/drivers/ata/pata_platform.c
+++ b/drivers/ata/pata_platform.c
@@ -30,7 +30,7 @@ static int pio_mask = 1;
  * Provide our own set_mode() as we don't want to change anything that has
  * already been configured..
  */
-static void pata_platform_set_mode(struct ata_port *ap)
+static int pata_platform_set_mode(struct ata_port *ap, struct ata_device **unused)
 {
 	int i;
 
@@ -44,6 +44,7 @@ static void pata_platform_set_mode(struct ata_port *ap)
 			dev->flags |= ATA_DFLAG_PIO;
 		}
 	}
+	return 0;
 }
 
 static void pata_platform_host_stop(struct ata_host *host)
-- 
1.5.0-rc2.GIT



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

end of thread, other threads:[~2007-01-30 16:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-30 13:23 [PATCH] pata_platform: fallout from set_mode() change Al Viro
2007-01-30 13:36 ` Jeff Garzik
2007-01-30 14:05   ` Paul Mundt
2007-01-30 14:12     ` Jeff Garzik
2007-01-30 16:13 ` Alan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox