diff options
author | Antonio Quartulli <antonio@mandelbit.com> | 2024-10-29 22:43:15 +0100 |
---|---|---|
committer | Greg Ungerer <gerg@kernel.org> | 2024-11-10 23:57:01 +0100 |
commit | 63a24cf8cc330e5a68ebd2e20ae200096974c475 (patch) | |
tree | f976741f41bb95c8ca15a732d64aaeaabc8512cd /arch/m68k/configs/apollo_defconfig | |
parent | m68k: mcfgpio: Fix incorrect register offset for CONFIG_M5441x (diff) | |
download | linux-63a24cf8cc330e5a68ebd2e20ae200096974c475.tar.xz linux-63a24cf8cc330e5a68ebd2e20ae200096974c475.zip |
m68k: coldfire/device.c: only build FEC when HW macros are defined
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>
Diffstat (limited to 'arch/m68k/configs/apollo_defconfig')
0 files changed, 0 insertions, 0 deletions