[U-Boot] [PATCH 2/2] net: designware: Rename the driver var name to eth_designware

Marek Vasut marex at denx.de
Mon Jul 27 22:33:17 CEST 2015


The driver variable name is eth_sandbox, which is probably a copy-paste
mistake. Fix it.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
Cc: Joe Hershberger <joe.hershberger at ni.com>
---
 drivers/net/designware.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index cadf3c8..d9cb507 100644
--- a/drivers/net/designware.c
+++ b/drivers/net/designware.c
@@ -612,7 +612,7 @@ static const struct udevice_id designware_eth_ids[] = {
 	{ }
 };
 
-U_BOOT_DRIVER(eth_sandbox) = {
+U_BOOT_DRIVER(eth_designware) = {
 	.name	= "eth_designware",
 	.id	= UCLASS_ETH,
 	.of_match = designware_eth_ids,
-- 
2.1.4



More information about the U-Boot mailing list