Skip to content
Snippets Groups Projects
Commit a7c45ec4 authored by Simon Glass's avatar Simon Glass Committed by Anatolij Gustschin
Browse files

microblaze: Correct build error in eth-uclass.c


This fixes the following error when building microblaze-generic:

net/eth-uclass.c: In function 'eth_post_probe':
net/eth-uclass.c:466:18: error: 'gd' undeclared (first use in this function)
    ops->start += gd->reloc_off;

Fixes: db9391e1 ("net: Move driver-model code into its own file")

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent a187559e
Branches
Tags
No related merge requests found
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#include <dm/uclass-internal.h> #include <dm/uclass-internal.h>
#include "eth_internal.h" #include "eth_internal.h"
DECLARE_GLOBAL_DATA_PTR;
/** /**
* struct eth_device_priv - private structure for each Ethernet device * struct eth_device_priv - private structure for each Ethernet device
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment