mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
phy: Break include cycle
Because some phy wants to export some functions [1], export.h was
including the whole phy subsystem which pulls in lots of stuff that
causes some ordering and redefinition issues. Split out the only part
that is actually needed in export.h and include it there and in phy.h.
[1] commit 9527931507 ("board/ls2085rdb: Export functions for
standalone AQ FW load apps")
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
#ifdef CONFIG_PHY_AQUANTIA
|
||||
#include <miiphy.h>
|
||||
#include <phy.h>
|
||||
#include <phy_interface.h>
|
||||
#endif
|
||||
|
||||
struct spi_slave;
|
||||
|
||||
Reference in New Issue
Block a user