[PATCH 15/20] include/linux/mii.h: Add <linux/types.h>

Tom Rini trini at konsulko.com
Wed Nov 1 17:28:19 CET 2023


As this file uses u8/u16 we need to bring in <linux/types.h> here.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/linux/mii.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/mii.h b/include/linux/mii.h
index 49e29ac314a5..70689bc53d76 100644
--- a/include/linux/mii.h
+++ b/include/linux/mii.h
@@ -9,6 +9,8 @@
 #ifndef __LINUX_MII_H__
 #define __LINUX_MII_H__
 
+#include <linux/types.h>
+
 /* Generic MII registers. */
 #define MII_BMCR		0x00	/* Basic mode control register */
 #define MII_BMSR		0x01	/* Basic mode status register  */
-- 
2.34.1



More information about the U-Boot mailing list