Commit bbcdefb3 authored by Joe Hershberger's avatar Joe Hershberger

davinci: Fix Ethernet driver interface warning

Fixes:
davinci_emac.c: In function 'davinci_emac_initialize':
davinci_emac.c:796:12: warning: assignment from incompatible pointer type [enabled by default]

Tested on da850_am18xxevm
Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
parent c8a60b53
......@@ -637,7 +637,7 @@ static int tx_send_loop = 0;
* positive number (number of bytes transmitted) or negative for error
*/
static int davinci_eth_send_packet (struct eth_device *dev,
volatile void *packet, int length)
void *packet, int length)
{
int ret_status = -1;
int index;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment