diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2018-07-17 15:02:30 -0500 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-07-26 14:08:22 -0500 |
commit | f070b1a27ac91c334f68425002a7db72d30213e7 (patch) | |
tree | 9ac20100e05d31c95b075011078dbbe54a79c2b8 /include/exports.h | |
parent | 9cce5663218ed35262b66c132cd65f42d27c7825 (diff) | |
download | u-boot-f070b1a27ac91c334f68425002a7db72d30213e7.tar.gz |
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 95279315076c ("board/ls2085rdb: Export functions for
standalone AQ FW load apps")
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/exports.h')
-rw-r--r-- | include/exports.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/exports.h b/include/exports.h index ebe81d914c..a4b862f191 100644 --- a/include/exports.h +++ b/include/exports.h @@ -3,8 +3,7 @@ #ifndef __ASSEMBLY__ #ifdef CONFIG_PHY_AQUANTIA -#include <miiphy.h> -#include <phy.h> +#include <phy_interface.h> #endif struct spi_slave; |