[PATCH master 10/14] net: linux/mdio.h: add missing init.h header
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue Apr 11 00:14:32 PDT 2023
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 at pengutronix.de>
---
include/linux/mdio.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mdio.h b/include/linux/mdio.h
index a4aee49d8db3..c441a074ec7f 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/
--
2.39.2
More information about the barebox
mailing list