Commit 644fdf9b authored by Grant Likely's avatar Grant Likely Committed by Jeff Garzik

mpc5200: Fix Kconfig dependancies on MPC5200 FEC device driver

When not building an arch/powerpc kernel, the mpc5200 FEC driver depends
on some symbols which are not defined (BESTCOMM & BESTCOMM_FEC).

This patch flips around the dependancy logic so that it cannot be
selected unless BESTCOMM_FEC is selected first.  Kconfig stops
complaining this way.

Also, the driver only works for arch/powerpc (not arch/ppc) anyway so
it should depend on PPC_MERGE also.
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent e403149c
...@@ -1883,9 +1883,7 @@ config FEC2 ...@@ -1883,9 +1883,7 @@ config FEC2
config FEC_MPC52xx config FEC_MPC52xx
tristate "MPC52xx FEC driver" tristate "MPC52xx FEC driver"
depends on PPC_MPC52xx depends on PPC_MERGE && PPC_MPC52xx && PPC_BESTCOMM_FEC
select PPC_BESTCOMM
select PPC_BESTCOMM_FEC
select CRC32 select CRC32
select PHYLIB select PHYLIB
---help--- ---help---
......
Markdown is supported
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