diff options
author | Greg Ungerer <gerg@uclinux.org> | 2016-01-11 00:07:49 (GMT) |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2016-03-07 00:07:17 (GMT) |
commit | ca6fafd183d6d687a7957e5328ecefc785f22a5a (patch) | |
tree | ca6d96f1dd6514eb55e43ce19cc007eab3926644 /drivers/pcmcia | |
parent | f6cede5b49e822ebc41a099fe41ab4989f64e2cb (diff) | |
download | linux-ca6fafd183d6d687a7957e5328ecefc785f22a5a.tar.xz |
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 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions