summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Forissier <[email protected]>2024-09-11 11:58:17 +0200
committerTom Rini <[email protected]>2024-09-24 13:41:21 -0600
commit99f90fcb12e7d42131996ea6111d03cd487348be (patch)
tree1cac4669b19eebef7784d22abf4d5577d048522a
parenteffe97d49c232f49989beee9d6ad91b3af4197eb (diff)
arm: omap2: add missing #include <netdev.h>
emac.c implements cpu_eth_init() so it needs to pull the corresponding header file. Signed-off-by: Jerome Forissier <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Peter Robinson <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]>
-rw-r--r--arch/arm/mach-omap2/omap3/emac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap3/emac.c b/arch/arm/mach-omap2/omap3/emac.c
index 7348e92cabd..1e30a06361d 100644
--- a/arch/arm/mach-omap2/omap3/emac.c
+++ b/arch/arm/mach-omap2/omap3/emac.c
@@ -9,6 +9,7 @@
#include <net.h>
#include <asm/io.h>
#include <asm/arch/am35x_def.h>
+#include <netdev.h>
/*
* Initializes on-chip ethernet controllers.