diff options
author | Greg Ungerer <gerg@uclinux.org> | 2016-01-11 01:07:49 +0100 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2016-03-07 01:07:17 +0100 |
commit | ca6fafd183d6d687a7957e5328ecefc785f22a5a (patch) | |
tree | ca6d96f1dd6514eb55e43ce19cc007eab3926644 /arch/m68k/kernel/early_printk.c | |
parent | Linux 4.5-rc7 (diff) | |
download | linux-ca6fafd183d6d687a7957e5328ecefc785f22a5a.tar.xz linux-ca6fafd183d6d687a7957e5328ecefc785f22a5a.zip |
m68knommu: fix FEC platform device registration when driver is modular
The FEC (Fast Ethernet Crontroller) module on many ColdFire parts can
be compiled into the kernel, or as a module. Therefore the platform device
support for it is required whenever the driver is enabled - not just when
built into the kernel. Use IS_ENABLED(CONFIG_FEC) instead of a conditional
check on only the driver being built into the kernel.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel/early_printk.c')
0 files changed, 0 insertions, 0 deletions