]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/qe: Select QE_USB with USB_GADGET_FSL_QE
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Sat, 8 Nov 2008 17:52:54 +0000 (20:52 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 30 Dec 2008 18:12:12 +0000 (12:12 -0600)
Boards should know when QE_USB is used, so that they can configure USB
clocks and pins.

Another option would be to add 'select QE_USB' into USB_GADGET_FSL_QE,
but selects are evil since they don't support dependencies.

While at it, also remove 'host' from the symbol description, since the
QE_USB code is used to support the gadget driver as well.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/qe_lib/Kconfig

index 76ffbc48d4b949f410e611b15d6550a647bdb30b..41ac3dfac98e1e85dabb16a01693984b7ba70414 100644 (file)
@@ -22,5 +22,6 @@ config UCC
 
 config QE_USB
        bool
+       default y if USB_GADGET_FSL_QE
        help
-         QE USB Host Controller support
+         QE USB Controller support