diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2018-03-02 00:29:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-02 03:21:36 +0100 |
commit | 43bf2e6d69dd6c2cea7a28763893a3dff34b7873 (patch) | |
tree | 0a827f5544d29c4a6d4e58b55adb729f51b31877 /arch/m68k | |
parent | net/mac89x0: Remove redundant code (diff) | |
download | linux-43bf2e6d69dd6c2cea7a28763893a3dff34b7873.tar.xz linux-43bf2e6d69dd6c2cea7a28763893a3dff34b7873.zip |
net/mac89x0: Convert to platform_driver
Apparently these Dayna cards don't have a pseudoslot declaration ROM
which means they can't be probed like NuBus cards.
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/mac/config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/mac/config.c b/arch/m68k/mac/config.c index d3d435248a24..c73eb8209555 100644 --- a/arch/m68k/mac/config.c +++ b/arch/m68k/mac/config.c @@ -1088,6 +1088,10 @@ int __init mac_platform_init(void) macintosh_config->expansion_type == MAC_EXP_PDS_COMM) platform_device_register_simple("macsonic", -1, NULL, 0); + if (macintosh_config->expansion_type == MAC_EXP_PDS || + macintosh_config->expansion_type == MAC_EXP_PDS_COMM) + platform_device_register_simple("mac89x0", -1, NULL, 0); + if (macintosh_config->ether_type == MAC_ETHER_MACE) platform_device_register_simple("macmace", -1, NULL, 0); |