On Wed, Sep 27, Greg KH wrote:

> @@ -372,6 +379,15 @@ struct usb_device {
>  
>       int maxchild;                   /* Number of ports if hub */
>       struct usb_device *children[USB_MAXCHILDREN];
> +
> +#ifdef CONFIG_PM
> +     struct work_struct autosuspend; /* for delayed autosuspends */
> +     struct mutex pm_mutex;          /* protects PM operations */
> +     int pm_usage_cnt;               /* usage counter for autosuspend */
> +
> +     unsigned auto_pm:1;             /* autosuspend/resume in progress */
> +     unsigned do_remote_wakeup:1;    /* remote wakeup should be enabled */
> +#endif

This fails for CONFIG_PM=n. 
Why did -mm not catch this?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to