[PATCH 2/6] ARM: uniphier: remove #include <net.h> again from micro-support-card.c

Masahiro Yamada yamada.masahiro at socionext.com
Wed May 20 05:31:24 CEST 2020


I do not understand the changes made to this file by
commit 90526e9fbac4 ("common: Drop net.h from common header").

  git show 90526e9fbac4 -- arch/arm/mach-uniphier/micro-support-card.c

The necessary declaration is already included by <netdev.h> at line 112.
It also moved the <dm/of.h> inclusion, but I do not understand the
motivation of doing so, either.

Simply revert the changes made to this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 arch/arm/mach-uniphier/micro-support-card.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/mach-uniphier/micro-support-card.c b/arch/arm/mach-uniphier/micro-support-card.c
index 18435dc361..d23c0bd129 100644
--- a/arch/arm/mach-uniphier/micro-support-card.c
+++ b/arch/arm/mach-uniphier/micro-support-card.c
@@ -6,10 +6,9 @@
  */
 
 #include <common.h>
+#include <dm/of.h>
 #include <fdt_support.h>
 #include <log.h>
-#include <net.h>
-#include <dm/of.h>
 #include <linux/ctype.h>
 #include <linux/delay.h>
 #include <linux/io.h>
-- 
2.25.1



More information about the U-Boot mailing list