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

drivers/net/dc2114x.c: Fix compile warning


Fix this:
dc2114x.c: In function 'dc21x4x_initialize':
dc2114x.c:305: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 9d295177
Branches
Tags
No related merge requests found
...@@ -175,7 +175,7 @@ static void read_hw_addr(struct eth_device* dev, bd_t * bis); ...@@ -175,7 +175,7 @@ static void read_hw_addr(struct eth_device* dev, bd_t * bis);
static void send_setup_frame(struct eth_device* dev, bd_t * bis); static void send_setup_frame(struct eth_device* dev, bd_t * bis);
static int dc21x4x_init(struct eth_device* dev, bd_t* bis); static int dc21x4x_init(struct eth_device* dev, bd_t* bis);
static int dc21x4x_send(struct eth_device* dev, volatile void *packet, int length); static int dc21x4x_send(struct eth_device *dev, void *packet, int length);
static int dc21x4x_recv(struct eth_device* dev); static int dc21x4x_recv(struct eth_device* dev);
static void dc21x4x_halt(struct eth_device* dev); static void dc21x4x_halt(struct eth_device* dev);
#ifdef CONFIG_TULIP_SELECT_MEDIA #ifdef CONFIG_TULIP_SELECT_MEDIA
...@@ -390,7 +390,7 @@ static int dc21x4x_init(struct eth_device* dev, bd_t* bis) ...@@ -390,7 +390,7 @@ static int dc21x4x_init(struct eth_device* dev, bd_t* bis)
return 0; return 0;
} }
static int dc21x4x_send(struct eth_device* dev, volatile void *packet, int length) static int dc21x4x_send(struct eth_device *dev, void *packet, int length)
{ {
int status = -1; int status = -1;
int i; int i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment