aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/rio/rio_linux.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-05-27 00:15:09 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2006-05-27 02:26:23 -0400
commit38d0d001b973d8c72c18524cc25ef39db85c66cd (patch)
treec261b690e3fcdc87bbc4d07b95083d8944503919 /drivers/char/rio/rio_linux.c
parentd886cb586f60a5ccf156392f96a39bc52db925d0 (diff)
[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>
Diffstat (limited to 'drivers/char/rio/rio_linux.c')
-rw-r--r--drivers/char/rio/rio_linux.c2
1 files changed, 1 insertions, 1 deletions
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);
}