Commit 74e738e8 authored by Joe Hershberger's avatar Joe Hershberger

drivers/net/armada100_fec.c: Fix compile warning

Fix this:
armada100_fec.c: In function 'armada100_fec_register':
armada100_fec.c:723:12: warning: assignment from incompatible pointer type
Signed-off-by: default avatarJoe Hershberger <>
Cc: Joe Hershberger <>
parent 3f9eb617
......@@ -558,8 +558,7 @@ static void armdfec_halt(struct eth_device *dev)
clrbits_le32(&regs->pconf, PCR_EN);
static int armdfec_send(struct eth_device *dev, volatile void *dataptr,
int datasize)
static int armdfec_send(struct eth_device *dev, void *dataptr, int datasize)
struct armdfec_device *darmdfec = to_darmdfec(dev);
struct armdfec_reg *regs = darmdfec->regs;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment