usb: gadget: Don't build USB_FSL_MP_DR_OF on Tegra
Dan Willemsen [Tue, 10 Apr 2012 01:04:16 +0000 (18:04 -0700)]
This config option only builds on PPC platforms.

Change-Id: Ibe7ebdc2dd5b9aa46e8f887570481a11a373c417
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/95475
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>

drivers/usb/gadget/Kconfig

index 8e051d7..e7c6ca4 100644 (file)
@@ -143,7 +143,7 @@ config USB_FSL_USB2
        tristate "Freescale Highspeed USB DR Peripheral Controller"
        depends on FSL_SOC || ARCH_MXC || ARCH_TEGRA
        select USB_GADGET_DUALSPEED
-       select USB_FSL_MPH_DR_OF if OF
+       select USB_FSL_MPH_DR_OF if OF && FSL_SOC
        help
           Some of Freescale PowerPC processors have a High Speed
           Dual-Role(DR) USB controller, which supports device mode.