Re: [PATCH v2 3/3] drivers: cleanup Kconfig stuff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Felipe,

On 10/19/2010 01:03 PM, ext Felipe Contreras wrote:
Add missing dependencies, and remove redundant ones, and select sensible
defaults.

Signed-off-by: Felipe Contreras<felipe.contreras@xxxxxxxxx>
---
  drivers/mfd/Kconfig        |    3 ++-
  drivers/regulator/Kconfig  |    1 +
  drivers/usb/gadget/Kconfig |    3 +--
  drivers/usb/musb/Kconfig   |    6 ++----
  drivers/usb/otg/Kconfig    |    2 ++
  5 files changed, 8 insertions(+), 7 deletions(-)


diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index c530bc6..2aac57e 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -111,7 +111,6 @@ config	USB_GADGET_SELECTED
  #
  choice
  	prompt "USB Peripheral Controller"
-	depends on USB_GADGET
  	help
  	   A USB device uses a controller to talk to its host.
  	   Systems should have only one such upstream link.
@@ -191,7 +190,6 @@ config USB_GADGET_OMAP
  	boolean "OMAP USB Device Controller"
  	depends on ARCH_OMAP
  	select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_H4_OTG
-	select USB_OTG_UTILS if ARCH_OMAP
  	help
  	   Many Texas Instruments OMAP processors have flexible full
  	   speed USB device controllers, with support for up to 30
@@ -843,6 +841,7 @@ config USB_CDC_COMPOSITE
  config USB_G_NOKIA
  	tristate "Nokia composite gadget"
  	depends on PHONET
+	depends on USB_GADGET_MUSB_HDRC

This is wrong. Is there a build problem or run-time problem without this?

--
regards,
-roger
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux