Re: [PATCH RESEND] USB: fix build on OMAPs if CONFIG_PM_RUNTIME is not set

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

 



On Mon, 29 Mar 2010, Felipe Balbi wrote:

> On Mon, Mar 29, 2010 at 01:24:51PM +0200, ext Anand Gadiyar wrote:
> >@@ -109,7 +109,7 @@ config USB_SUSPEND
> > config USB_OTG
> > 	bool
> > 	depends on USB && EXPERIMENTAL
> >-	select USB_SUSPEND
> >+	depends on USB_SUSPEND
> 
> how about instead making USB_SUSPEND select PM_RUNTIME ??

Kconfig's "select" should be used very carefully.  It's mainly intended 
for things like library routines, which should be present if they are 
needed but otherwise can be ignored.  PM_RUNTIME does not fall into 
that category.

Alan Stern

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux