diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2008-11-14 05:19:00 -0700 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2008-11-13 22:37:27 -0700 |
commit | 847cdf42d589882aca683b6fb65b2c7832e92231 (patch) | |
tree | fbe19a1dbe7b9d3fb0ea7d895ffe8d9f1f9264c7 /arch | |
parent | 4ffaf869c7780bbdfc11291e5fd4b61dde662b1c (diff) | |
download | op-kernel-dev-847cdf42d589882aca683b6fb65b2c7832e92231.zip op-kernel-dev-847cdf42d589882aca683b6fb65b2c7832e92231.tar.gz |
powerpc/mpc5200: fix bestcomm Kconfig dependencies
Without this patch it is possible to select drivers which require
bestcomm support without bestcomm support being selected. This
patch reworks the bestcomm dependencies to ensure the correct
bestcomm tasks are always enabled.
Reported-by: Hans Lehmann <hans.lehmann@ritter-elektronik.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/sysdev/bestcomm/Kconfig | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/powerpc/sysdev/bestcomm/Kconfig b/arch/powerpc/sysdev/bestcomm/Kconfig index 57cc565..0b192a1 100644 --- a/arch/powerpc/sysdev/bestcomm/Kconfig +++ b/arch/powerpc/sysdev/bestcomm/Kconfig @@ -17,23 +17,20 @@ config PPC_BESTCOMM answer Y or M. Otherwise say N. config PPC_BESTCOMM_ATA - tristate "Bestcomm ATA task support" + tristate depends on PPC_BESTCOMM - default n help This option enables the support for the ATA task. config PPC_BESTCOMM_FEC - tristate "Bestcomm FEC tasks support" + tristate depends on PPC_BESTCOMM - default n help This option enables the support for the FEC tasks. config PPC_BESTCOMM_GEN_BD - tristate "Bestcomm GenBD tasks support" + tristate depends on PPC_BESTCOMM - default n help This option enables the support for the GenBD tasks. |