]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] QE: fix Kconfig 'select' warning with UCC_FAST
authorTimur Tabi <timur@freescale.com>
Wed, 23 May 2007 12:23:55 +0000 (07:23 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 23 May 2007 12:23:55 +0000 (07:23 -0500)
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>
arch/powerpc/sysdev/qe_lib/Kconfig
drivers/net/Kconfig

index 887739f3badc6a18ed203c9af86e25a4a9185368..f611d344a126e5dc05dd6a913859b5a97d486abc 100644 (file)
@@ -5,15 +5,13 @@
 config UCC_SLOW
        bool
        default n
-       select UCC
        help
          This option provides qe_lib support to UCC slow
          protocols: UART, BISYNC, QMC
 
 config UCC_FAST
        bool
-       default n
-       select UCC
+       default y if UCC_GETH
        help
          This option provides qe_lib support to UCC fast
          protocols: HDLC, Ethernet, ATM, transparent
index c5baa197bc08b6ce8dc5b0a0cbe71afd81333fc4..3b204bac1a1d5c56ef3b50005894dcb47882ec02 100644 (file)
@@ -2280,7 +2280,6 @@ config GFAR_NAPI
 config UCC_GETH
        tristate "Freescale QE Gigabit Ethernet"
        depends on QUICC_ENGINE
-       select UCC_FAST
        help
          This driver supports the Gigabit Ethernet mode of the QUICC Engine,
          which is available on some Freescale SOCs.