X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fnet%2Fns8382x.c;h=cfe1f349db85c35d43a89103d8d21c6e45515dc6;hb=e89d623f099c44b0b166ccf46bce2e6a0b99c984;hp=11863feba3da0eca4e02b8fae7dff71cc637e113;hpb=c829ff2e3d1bec9b2019480d82638149327db99e;p=u-boot diff --git a/drivers/net/ns8382x.c b/drivers/net/ns8382x.c index 11863feba3..cfe1f349db 100644 --- a/drivers/net/ns8382x.c +++ b/drivers/net/ns8382x.c @@ -258,8 +258,7 @@ static void ns8382x_init_txd(struct eth_device *dev); static void ns8382x_init_rxd(struct eth_device *dev); static void ns8382x_set_rx_mode(struct eth_device *dev); static void ns8382x_check_duplex(struct eth_device *dev); -static int ns8382x_send(struct eth_device *dev, volatile void *packet, - int length); +static int ns8382x_send(struct eth_device *dev, void *packet, int length); static int ns8382x_poll(struct eth_device *dev); static void ns8382x_disable(struct eth_device *dev); @@ -735,8 +734,7 @@ ns8382x_check_duplex(struct eth_device *dev) /* Function: ns8382x_send * Description: transmits a packet and waits for completion or timeout. * Returns: void. */ -static int -ns8382x_send(struct eth_device *dev, volatile void *packet, int length) +static int ns8382x_send(struct eth_device *dev, void *packet, int length) { u32 i, status = 0; vu_long tx_stat = 0;