diff options
| author | Timur Tabi <timur@freescale.com> | 2007-05-23 08:23:55 -0400 |
|---|---|---|
| committer | Kumar Gala <galak@kernel.crashing.org> | 2007-05-23 08:23:55 -0400 |
| commit | 90c615bc42886f23a6112733a949d0f6fbe343b6 (patch) | |
| tree | 4600ab7e71cb4c2d02b908b809d3480f99794f94 /arch/powerpc/sysdev/qe_lib/Kconfig | |
| parent | f2fb9eb3482c9ab3cca84cf0c80f646ce9aeb4de (diff) | |
[POWERPC] QE: fix Kconfig 'select' warning with UCC_FAST
The UCC_GETH Kconfig option in drivers/net/Kconfig had a line to select the
UCC_FAST option is arch/powerpc/sysdev/qe_lib/Kconfig, which is only used
on PowerPC builds. On other architectures, this would generated a warning.
The fix is to have UCC_FAST depend on UCC_GETH.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/qe_lib/Kconfig')
| -rw-r--r-- | arch/powerpc/sysdev/qe_lib/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/sysdev/qe_lib/Kconfig b/arch/powerpc/sysdev/qe_lib/Kconfig index 887739f3ba..f611d344a1 100644 --- a/arch/powerpc/sysdev/qe_lib/Kconfig +++ b/arch/powerpc/sysdev/qe_lib/Kconfig | |||
| @@ -5,15 +5,13 @@ | |||
| 5 | config UCC_SLOW | 5 | config UCC_SLOW |
| 6 | bool | 6 | bool |
| 7 | default n | 7 | default n |
| 8 | select UCC | ||
| 9 | help | 8 | help |
| 10 | This option provides qe_lib support to UCC slow | 9 | This option provides qe_lib support to UCC slow |
| 11 | protocols: UART, BISYNC, QMC | 10 | protocols: UART, BISYNC, QMC |
| 12 | 11 | ||
| 13 | config UCC_FAST | 12 | config UCC_FAST |
| 14 | bool | 13 | bool |
| 15 | default n | 14 | default y if UCC_GETH |
| 16 | select UCC | ||
| 17 | help | 15 | help |
| 18 | This option provides qe_lib support to UCC fast | 16 | This option provides qe_lib support to UCC fast |
| 19 | protocols: HDLC, Ethernet, ATM, transparent | 17 | protocols: HDLC, Ethernet, ATM, transparent |
