aboutsummaryrefslogtreecommitdiff
path: root/include/netdev.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/netdev.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/netdev.h')
-rw-r--r--include/netdev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h
index 2a7f40e5040..2a06d9a261b 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -10,9 +10,12 @@
#ifndef _NETDEV_H_
#define _NETDEV_H_
+
+#include <linux/types.h>
#include <phy_interface.h>
struct udevice;
+struct bd_info;
/*
* Board and CPU-specific initialization functions