From 38d0d001b973d8c72c18524cc25ef39db85c66cd Mon Sep 17 00:00:00 2001
From: Al Viro <viro@zeniv.linux.org.uk>
Date: Sat, 27 May 2006 00:15:09 -0400
Subject: [PATCH] rio ->Copy() expects the sourse as first argument

... so conversion from rio_pcicopy() to rio_copy_to_card() had broken the
damn thing.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 drivers/char/rio/func.h      | 2 +-
 drivers/char/rio/rio_linux.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'drivers')

diff --git a/drivers/char/rio/func.h b/drivers/char/rio/func.h
index 0707af33f01..6b039186856 100644
--- a/drivers/char/rio/func.h
+++ b/drivers/char/rio/func.h
@@ -140,7 +140,7 @@ int rio_isr_thread(char *);
 struct rio_info *rio_info_store(int cmd, struct rio_info *p);
 #endif
 
-extern void rio_copy_to_card(void __iomem *to, void *from, int len);
+extern void rio_copy_to_card(void *from, void __iomem *to, int len);
 extern int rio_minor(struct tty_struct *tty);
 extern int rio_ismodem(struct tty_struct *tty);
 
diff --git a/drivers/char/rio/rio_linux.c b/drivers/char/rio/rio_linux.c
index 39277e53d9a..8f96b20090e 100644
--- a/drivers/char/rio/rio_linux.c
+++ b/drivers/char/rio/rio_linux.c
@@ -333,7 +333,7 @@ int RIODelay_ni(struct Port *PortP, int njiffies)
 	return !RIO_FAIL;
 }
 
-void rio_copy_to_card(void __iomem *to, void *from, int len)
+void rio_copy_to_card(void *from, void __iomem *to, int len)
 {
 	rio_memcpy_toio(NULL, to, from, len);
 }
-- 
cgit v1.2.3-18-g5258