kernel_samsung_a53x/arch/m68k/coldfire
Antonio Quartulli 40ca91e868 m68k: coldfire/device.c: only build FEC when HW macros are defined
[ Upstream commit 63a24cf8cc330e5a68ebd2e20ae200096974c475 ]

When CONFIG_FEC is set (due to COMPILE_TEST) along with
CONFIG_M54xx, coldfire/device.c has compile errors due to
missing MCFEC_* and MCF_IRQ_FEC_* symbols.

Make the whole FEC blocks dependent on having the HW macros
defined, rather than on CONFIG_FEC itself.

This fix is very similar to commit e6e1e7b19fa1 ("m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined")

Fixes: b7ce7f0d0efc ("m68knommu: merge common ColdFire FEC platform setup code")
To: Greg Ungerer <gerg@linux-m68k.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
Signed-off-by: Greg Ungerer <gerg@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:12 +01:00
..
amcore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
device.c m68k: coldfire/device.c: only build FEC when HW macros are defined 2024-12-17 13:24:12 +01:00
dma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dma_timer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
entry.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
firebee.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
head.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intc-2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intc-525x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intc-5249.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intc-5272.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intc-simr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m53xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m54xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m520x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m523x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m525x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m527x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m528x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m5206.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m5249.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m5272.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m5307.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m5407.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m5441x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcf8390.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nettel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
reset.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sltimers.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stmark2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
timers.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vectors.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00