diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-19 10:15:39 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-03 22:19:54 -0400 |
commit | 2a64ada78cba32196a4f49bd000a501fa2c96647 (patch) | |
tree | 021dcdda9ef0f27396e7c73fd01b6c9aebcd4d9b /include/phy.h | |
parent | c2848cc2c35ccaedb10f23c3ee2a46ffdcc0de0c (diff) |
net: Drop dm.h header file from phy.h
This header file should not be included in other header files. Remove it
and use other headers and C inclusions instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/phy.h')
-rw-r--r-- | include/phy.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/phy.h b/include/phy.h index fedd146091..1dbbf65111 100644 --- a/include/phy.h +++ b/include/phy.h @@ -9,14 +9,17 @@ #ifndef _PHY_H #define _PHY_H -#include <dm.h> +#include <log.h> +#include <phy_interface.h> +#include <dm/ofnode.h> +#include <dm/read.h> #include <linux/errno.h> #include <linux/list.h> #include <linux/mii.h> #include <linux/ethtool.h> #include <linux/mdio.h> -#include <log.h> -#include <phy_interface.h> + +struct udevice; #define PHY_FIXED_ID 0xa5a55a5a #define PHY_NCSI_ID 0xbeefcafe |