summaryrefslogtreecommitdiff
path: root/include/net-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net-common.h')
-rw-r--r--include/net-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net-common.h b/include/net-common.h
index 29d31f37263..30860f5975a 100644
--- a/include/net-common.h
+++ b/include/net-common.h
@@ -291,6 +291,7 @@ struct eth_ops {
#define eth_get_ops(dev) ((struct eth_ops *)(dev)->driver->ops)
struct udevice *eth_get_dev(void); /* get the current device */
+void eth_set_dev(struct udevice *dev); /* set a device */
unsigned char *eth_get_ethaddr(void); /* get the current device MAC */
int eth_rx(void); /* Check for received packets */
void eth_halt(void); /* stop SCC */
@@ -518,7 +519,6 @@ int wget_do_request(ulong dst_addr, char *uri);
* Return: true if uri is valid, false if uri is invalid
*/
bool wget_validate_uri(char *uri);
-//int do_wget(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]);
/**
* enum wget_http_method - http method