Skip to content
Commit 8a856397 authored by Jochen Friedrich's avatar Jochen Friedrich Committed by David S. Miller
Browse files

[FS_ENET]: Fix module build.



If fs_enet is build as module, on PPC_CPM_NEW_BINDING platforms
mii-fec/mii-bitbang should be build as module, as well. On other
platforms, mii-fec/mii-bitbang must be included into the main module.
Otherwise some symbols remain undefined. Additionally, fs_enet uses
libphy, so add a select PHYLIB.

  Building modules, stage 2.
  MODPOST 5 modules
ERROR: "fs_scc_ops" [drivers/net/fs_enet/fs_enet.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Signed-off-by: default avatarJochen Friedrich <jochen@scram.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 96a2d41a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment