aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ibm_newemac/zmii.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ibm_newemac/zmii.c')
-rw-r--r--drivers/net/ibm_newemac/zmii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibm_newemac/zmii.c b/drivers/net/ibm_newemac/zmii.c
index 17b15412494..edb710c4a35 100644
--- a/drivers/net/ibm_newemac/zmii.c
+++ b/drivers/net/ibm_newemac/zmii.c
@@ -225,7 +225,7 @@ void *zmii_dump_regs(struct of_device *ofdev, void *buf)
* zmii ? if yes, then we'll add a cell_index
* like we do for emac
*/
- memcpy_fromio(regs, dev->base, sizeof(struct zmii_regs));
+ memcpy(regs, dev->base, sizeof(struct zmii_regs));
return regs + 1;
}