Rename the function to keep the naming scheme consistent,
no functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
smc911x_handle_mac_address(dev);
}
-static int smc911x_rx(struct eth_device *dev)
+static int smc911x_recv(struct eth_device *dev)
{
u32 *data = (u32 *)net_rx_packets[0];
u32 pktlen, tmplen;
dev->init = smc911x_init;
dev->halt = smc911x_halt;
dev->send = smc911x_send;
- dev->recv = smc911x_rx;
+ dev->recv = smc911x_recv;
sprintf(dev->name, "%s-%hu", DRIVERNAME, dev_num);
eth_register(dev);