diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2018-07-25 12:59:22 -0500 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-07-26 14:08:22 -0500 |
commit | 05b60ac549bbb1cc0738b96d2ee0e342d90bbc1f (patch) | |
tree | e9aedc0fb3b83de8982c8f870bf46614e9793b84 /drivers/net/phy/natsemi.c | |
parent | f070b1a27ac91c334f68425002a7db72d30213e7 (diff) | |
download | u-boot-05b60ac549bbb1cc0738b96d2ee0e342d90bbc1f.zip u-boot-05b60ac549bbb1cc0738b96d2ee0e342d90bbc1f.tar.gz u-boot-05b60ac549bbb1cc0738b96d2ee0e342d90bbc1f.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/phy/natsemi.c')
-rw-r--r-- | drivers/net/phy/natsemi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/natsemi.c b/drivers/net/phy/natsemi.c index 05c7e7c..efde457 100644 --- a/drivers/net/phy/natsemi.c +++ b/drivers/net/phy/natsemi.c @@ -5,6 +5,7 @@ * Copyright 2010-2011 Freescale Semiconductor, Inc. * author Andy Fleming */ +#include <common.h> #include <phy.h> /* NatSemi DP83630 */ |