Skip to content
Snippets Groups Projects
Commit 9d9a89be authored by Joe Hershberger's avatar Joe Hershberger
Browse files

drivers/net/macb.c: Fix compile warning


Fix this:
macb.c: In function 'macb_eth_initialize':
macb.c:564:15: warning: assignment from incompatible pointer type

Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
parent 30934b3e
No related branches found
No related tags found
No related merge requests found
...@@ -197,8 +197,7 @@ int macb_miiphy_write(const char *devname, u8 phy_adr, u8 reg, u16 value) ...@@ -197,8 +197,7 @@ int macb_miiphy_write(const char *devname, u8 phy_adr, u8 reg, u16 value)
#if defined(CONFIG_CMD_NET) #if defined(CONFIG_CMD_NET)
static int macb_send(struct eth_device *netdev, volatile void *packet, static int macb_send(struct eth_device *netdev, void *packet, int length)
int length)
{ {
struct macb_device *macb = to_macb(netdev); struct macb_device *macb = to_macb(netdev);
unsigned long paddr, ctrl; unsigned long paddr, ctrl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment