From: Sean Anderson <seanga2@gmail.com>
Date: Mon, 5 Oct 2020 01:39:46 +0000 (-0400)
Subject: net: ldpaa_eth: Include device_compat.h
X-Git-Tag: v2025.01-rc5-pxa1908~2176^2~14
X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=d878ef736d8f1c3f4bd8a1899de631cae9405b3a;p=u-boot.git

net: ldpaa_eth: Include device_compat.h

Necessary for dev_xxx.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
---

diff --git a/drivers/net/ldpaa_eth/ldpaa_eth.c b/drivers/net/ldpaa_eth/ldpaa_eth.c
index 67da549fdb..42eaf49d71 100644
--- a/drivers/net/ldpaa_eth/ldpaa_eth.c
+++ b/drivers/net/ldpaa_eth/ldpaa_eth.c
@@ -6,20 +6,20 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <dm/device_compat.h>
+#include <fsl-mc/fsl_dpmac.h>
+#include <fsl-mc/ldpaa_wriop.h>
+#include <hwconfig.h>
 #include <log.h>
-#include <asm/io.h>
-#include <asm/types.h>
 #include <malloc.h>
+#include <miiphy.h>
 #include <net.h>
-#include <hwconfig.h>
 #include <phy.h>
-#include <miiphy.h>
+#include <asm/io.h>
+#include <asm/types.h>
 #include <linux/bug.h>
 #include <linux/compat.h>
-#include <fsl-mc/fsl_dpmac.h>
 #include <linux/delay.h>
-
-#include <fsl-mc/ldpaa_wriop.h>
 #include "ldpaa_eth.h"
 
 #ifdef CONFIG_PHYLIB