net: constify eth_get_byname argument
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
93578fb233
commit
72dfc499c8
|
@ -404,7 +404,7 @@ typedef void rx_handler_f(void *ctx, char *packet, unsigned int len);
|
||||||
|
|
||||||
void eth_set_current(struct eth_device *eth);
|
void eth_set_current(struct eth_device *eth);
|
||||||
struct eth_device *eth_get_current(void);
|
struct eth_device *eth_get_current(void);
|
||||||
struct eth_device *eth_get_byname(char *name);
|
struct eth_device *eth_get_byname(const char *name);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* net_receive - Pass a received packet from an ethernet driver to the protocol stack
|
* net_receive - Pass a received packet from an ethernet driver to the protocol stack
|
||||||
|
|
Loading…
Reference in New Issue