m68k: remove common.h references
Subsystems (3)
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.
Signed-off-by Angelo Dureghello <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -6,7 +6,6 @@* */ -#include <common.h> #include <dm.h> #include <hang.h> #include <asm/io.h>
Signature · 1 line
2.42.0