summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-04-11 09:14:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-04-11 13:43:19 +0200
commit67797c6b616b2c23ccf03ff57f00b9a3bcb18759 (patch)
tree7f3fd6e427915dceac37ca7c723a760e237247c7 /include
parent3f4ecd9d37a51560b511df6b23d3a0b87d9affc2 (diff)
downloadbarebox-67797c6b616b2c23ccf03ff57f00b9a3bcb18759.tar.gz
net: linux/mdio.h: add missing init.h header
The header defines device_mdio_driver, which requires the macros in init.h to be usable. Therefore include the appropriate header. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230411071436.1630752-11-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mdio.h b/include/linux/mdio.h
index a4aee49d8d..c441a074ec 100644
--- a/include/linux/mdio.h
+++ b/include/linux/mdio.h
@@ -13,6 +13,7 @@
#include <linux/types.h>
#include <linux/mii.h>
+#include <init.h>
/* MDIO Manageable Devices (MMDs). */
#define MDIO_MMD_PMAPMD 1 /* Physical Medium Attachment/