diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-05-27 00:15:09 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-05-27 02:26:23 -0400 |
commit | 38d0d001b973d8c72c18524cc25ef39db85c66cd (patch) | |
tree | c261b690e3fcdc87bbc4d07b95083d8944503919 /drivers/char/rio | |
parent | d886cb586f60a5ccf156392f96a39bc52db925d0 (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')
-rw-r--r-- | drivers/char/rio/func.h | 2 | ||||
-rw-r--r-- | drivers/char/rio/rio_linux.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/rio/func.h b/drivers/char/rio/func.h index 0707af33f017..6b039186856d 100644 --- a/drivers/char/rio/func.h +++ b/drivers/char/rio/func.h | |||
@@ -140,7 +140,7 @@ int rio_isr_thread(char *); | |||
140 | struct rio_info *rio_info_store(int cmd, struct rio_info *p); | 140 | struct rio_info *rio_info_store(int cmd, struct rio_info *p); |
141 | #endif | 141 | #endif |
142 | 142 | ||
143 | extern void rio_copy_to_card(void __iomem *to, void *from, int len); | 143 | extern void rio_copy_to_card(void *from, void __iomem *to, int len); |
144 | extern int rio_minor(struct tty_struct *tty); | 144 | extern int rio_minor(struct tty_struct *tty); |
145 | extern int rio_ismodem(struct tty_struct *tty); | 145 | extern int rio_ismodem(struct tty_struct *tty); |
146 | 146 | ||
diff --git a/drivers/char/rio/rio_linux.c b/drivers/char/rio/rio_linux.c index 39277e53d9a8..8f96b20090e8 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) | |||
333 | return !RIO_FAIL; | 333 | return !RIO_FAIL; |
334 | } | 334 | } |
335 | 335 | ||
336 | void rio_copy_to_card(void __iomem *to, void *from, int len) | 336 | void rio_copy_to_card(void *from, void __iomem *to, int len) |
337 | { | 337 | { |
338 | rio_memcpy_toio(NULL, to, from, len); | 338 | rio_memcpy_toio(NULL, to, from, len); |
339 | } | 339 | } |