net: phy: Clean up includes of common.h
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 25 Jul 2018 17:59:22 +0000 (12:59 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:22 +0000 (14:08 -0500)
commit05b60ac549bbb1cc0738b96d2ee0e342d90bbc1f
treee9aedc0fb3b83de8982c8f870bf46614e9793b84
parentf070b1a27ac91c334f68425002a7db72d30213e7
net: phy: Clean up includes of common.h

We want to be able to include some other system headers in phy.h but
that requires us to have included common.h in the top-level first.

Also, common.h includes config.h as the first thing it does, so don't
include it directly.

Series-to: u-boot
Series-cc: Grygorii Strashko <grygorii.strashko@ti.com>
Seried-cc: ti
Series-process-log: sort, uniq
Cover-letter:
Prepare for net: phy: prevent uclass_eth device "node" field overwriting
Prepare for [1] so that it doesn't break the build for a bunch of
boards. There are a number of reasons this series broke the build
but none of them depend on changes in the series, so fix up those
situations ahead of applying that series.

[1] https://patchwork.ozlabs.org/cover/940104/
END
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
14 files changed:
drivers/net/phy/atheros.c
drivers/net/phy/broadcom.c
drivers/net/phy/davicom.c
drivers/net/phy/generic_10g.c
drivers/net/phy/lxt.c
drivers/net/phy/marvell.c
drivers/net/phy/micrel_ksz8xxx.c
drivers/net/phy/micrel_ksz90x1.c
drivers/net/phy/natsemi.c
drivers/net/phy/phy.c
drivers/net/phy/realtek.c
drivers/net/phy/smsc.c
drivers/net/phy/teranetics.c
drivers/net/phy/vitesse.c