mpc5200: Fix Kconfig dependancies on MPC5200 FEC device driver
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 1 Nov 2007 14:22:30 +0000 (08:22 -0600)
committerJeff Garzik <jeff@garzik.org>
Thu, 1 Nov 2007 20:04:45 +0000 (16:04 -0400)
commit644fdf9b08e51e172d54cb500473470edb4ba1e0
treef08b214b5772f2281c2f453dbdaf58be0607cf2c
parente403149c92a2a0643211debbbb0a9ec7cc04cff7
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: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/Kconfig