[PATCH 2/3] usb: Fix USB_SUSPEND dependency for OTG

Gadiyar, Anand gadiyar at ti.com
Thu Mar 11 13:20:49 EST 2010


Tony Lindgren wrote:
> 
> To use this, PM_RUNTIME must be set as discussed at:
> 
> http://thread.gmane.org/gmane.linux.usb.general/27432/focus=4460
> 
> Otherwise we'll get errors like:
> 
> drivers/usb/core/hcd.c:1892: error: 'pm_wq' undeclared (first use in this function)
> drivers/usb/core/hcd.c:1892: error: (Each undeclared identifier is reported only once
> drivers/usb/core/hcd.c:1892: error: for each function it appears in.)
> 
> Signed-off-by: Tony Lindgren <tony at atomide.com>

Hi Tony,

I already posted this patch last month. Still waiting for it
to get queued.

<http://marc.info/?l=linux-usb&m=126675883221098&w=2>

- Anand


> ---
>  drivers/usb/core/Kconfig |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig
> index 97a819c..7e59444 100644
> --- a/drivers/usb/core/Kconfig
> +++ b/drivers/usb/core/Kconfig
> @@ -109,7 +109,7 @@ config USB_SUSPEND
>  config USB_OTG
>  	bool
>  	depends on USB && EXPERIMENTAL
> -	select USB_SUSPEND
> +	depends on USB_SUSPEND
>  	default n
>  
>  
> 


More information about the linux-arm-kernel mailing list