phy: Break include cycle
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 17 Jul 2018 20:02:30 +0000 (15:02 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:22 +0000 (14:08 -0500)
commitf070b1a27ac91c334f68425002a7db72d30213e7
tree9ac20100e05d31c95b075011078dbbe54a79c2b8
parent9cce5663218ed35262b66c132cd65f42d27c7825
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>
include/exports.h
include/phy.h
include/phy_interface.h [new file with mode: 0644]