Skip to content

Commit

Permalink
[PATCH] rio ->Copy() expects the sourse as first argument
Browse files Browse the repository at this point in the history
... 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>
  • Loading branch information
Al Viro committed May 27, 2006
1 parent d886cb5 commit 38d0d00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/char/rio/func.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/char/rio/rio_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 38d0d00

Please sign in to comment.