aboutsummaryrefslogtreecommitdiff
path: root/include/phy_interface.h
diff options
context:
space:
mode:
authorTom Rini2024-04-30 07:35:28 -0600
committerTom Rini2024-05-06 15:06:33 -0600
commit675dd31a7dc4c85385d5bce3b4fb281aa91968cb (patch)
treec782d24302e8d8ee6a4e0578b6dc814defdb3c68 /include/phy_interface.h
parent9543f05d8e400a6cb9e22f9c0319e06c10706c93 (diff)
include: Add missing headers in a few instances
A few headers rely on indirect inclusion of <linux/types.h> or <linux/kernel.h> so add them directly. In the case of <netdev.h> add a "struct bd_info;" as well rather than the large header chain to resolve that. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/phy_interface.h')
-rw-r--r--include/phy_interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phy_interface.h b/include/phy_interface.h
index 31be3228c7c..b74f4ccd84a 100644
--- a/include/phy_interface.h
+++ b/include/phy_interface.h
@@ -11,6 +11,7 @@
#define _PHY_INTERFACE_H
#include <string.h>
+#include <linux/kernel.h>
typedef enum {
PHY_INTERFACE_MODE_NA, /* don't touch */