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

Marek Vasut
2015-07-27T20:33:17Z

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

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Joe Hershberger <joe.hershberger@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