Skip to content
Snippets Groups Projects
Commit 461667cf authored by Troy Kisky's avatar Troy Kisky
Browse files

arm: imx: call fecmxc_initialize only if CONFIG_FEC_MXC_PHYADDR is defined

parent 21cc8cf3
No related branches found
No related tags found
No related merge requests found
...@@ -263,7 +263,7 @@ int cpu_eth_init(bd_t *bis) ...@@ -263,7 +263,7 @@ int cpu_eth_init(bd_t *bis)
{ {
int rc = -ENODEV; int rc = -ENODEV;
#if defined(CONFIG_FEC_MXC) #if defined(CONFIG_FEC_MXC) && defined(CONFIG_FEC_MXC_PHYADDR)
rc = fecmxc_initialize(bis); rc = fecmxc_initialize(bis);
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment