summaryrefslogtreecommitdiff
path: root/include/exports.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2018-07-17 23:02:30 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2018-07-26 22:08:22 +0300
commitf070b1a27ac91c334f68425002a7db72d30213e7 (patch)
tree9ac20100e05d31c95b075011078dbbe54a79c2b8 /include/exports.h
parent9cce5663218ed35262b66c132cd65f42d27c7825 (diff)
downloadu-boot-f070b1a27ac91c334f68425002a7db72d30213e7.tar.xz
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.h3
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;