mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
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: Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
This commit is contained in:
parent
3f9eb617cb
commit
74e738e8cc
1 changed files with 1 additions and 2 deletions
|
@ -558,8 +558,7 @@ static void armdfec_halt(struct eth_device *dev)
|
||||||
clrbits_le32(®s->pconf, PCR_EN);
|
clrbits_le32(®s->pconf, PCR_EN);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int armdfec_send(struct eth_device *dev, volatile void *dataptr,
|
static int armdfec_send(struct eth_device *dev, void *dataptr, int datasize)
|
||||||
int datasize)
|
|
||||||
{
|
{
|
||||||
struct armdfec_device *darmdfec = to_darmdfec(dev);
|
struct armdfec_device *darmdfec = to_darmdfec(dev);
|
||||||
struct armdfec_reg *regs = darmdfec->regs;
|
struct armdfec_reg *regs = darmdfec->regs;
|
||||||
|
|
Loading…
Reference in a new issue