Skip to contentSkip to conversation

m68k: remove common.h references

PATCH New Angelo Dureghello 1 participant 1 message Nov 4, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m68k: remove common.h references

In one case (mcffec.c), had to replace common.h include with config.h, to avoid CFG_SYS_CACHE_ACR0 redefine-order conflict.

---
 drivers/net/mcffec.c        | 2 +-
 drivers/net/mcfmii.c        | 1 -
 drivers/rtc/mcfrtc.c        | 2 --
 drivers/serial/serial_mcf.c | 1 -
 drivers/watchdog/mcf_wdt.c  | 1 -
 5 files changed, 1 insertion(+), 6 deletions(-)
drivers/net/mcffec.c +1 -1
index ec1fae9688..4e0a9a8b7c 100644
@@ -10,8 +10,8 @@
  * (C) 2019 Angelo Dureghello <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
+#include <config.h>
 #include <hang.h>
 #include <malloc.h>
 #include <command.h>
drivers/net/mcfmii.c +0 -1
index eae2065451..9bf887035d 100644
@@ -4,7 +4,6 @@
  * TsiChung Liew ([email protected])
  */
 
-#include <common.h>
 #include <config.h>
 #include <net.h>
 #include <netdev.h>
drivers/rtc/mcfrtc.c +0 -2
index d2ac889c30..9708971c5c 100644
@@ -4,8 +4,6 @@
  * TsiChung Liew ([email protected])
  */
 
-#include <common.h>
-
 #include <command.h>
 #include <rtc.h>
 #include <asm/immap.h>
drivers/serial/serial_mcf.c +0 -1
index bb2afd0d8c..76143575fa 100644
@@ -15,7 +15,6 @@
  * as serial console interface.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <dm/platform_data/serial_coldfire.h>
drivers/watchdog/mcf_wdt.c +0 -1
index b36488bb5b..b555bbeb68 100644
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <hang.h>
 #include <asm/io.h>
Signature · 1 line
2.42.0