aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/rio/riopcicopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/rio/riopcicopy.c')
-rw-r--r--drivers/char/rio/riopcicopy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/char/rio/riopcicopy.c b/drivers/char/rio/riopcicopy.c
new file mode 100644
index 00000000000..2ea99a60aa3
--- /dev/null
+++ b/drivers/char/rio/riopcicopy.c
@@ -0,0 +1,8 @@
+
+/* Yeah. We have copyright on this one. Sure. */
+
+void rio_pcicopy( char *from, char *to, int amount)
+{
+ while ( amount-- )
+ *to++ = *from++;
+}