Re: Compile error with gregkh-07-usb-2.6.33-rc7.patch

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

 



On Fri, Feb 12, 2010 at 7:17 PM, Gadiyar, Anand <gadiyar@xxxxxx> wrote:
> Greg,
>
> I'm building current Linus' tree + gregkh-03-usb.current-2.6.33-rc7.patch
> and gregkh-07-usb-2.6.33-rc7.patch for OMAP3 and I see the
> following compile error:
>
>  CC      drivers/usb/core/hcd.o
> drivers/usb/core/hcd.c: In function 'usb_hcd_resume_root_hub':
> 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.)
> make[3]: *** [drivers/usb/core/hcd.o] Error 1
> make[2]: *** [drivers/usb/core] Error 2
> make[1]: *** [drivers/usb] Error 2
> make: *** [drivers] Error 2
>
> Just reporting it now - maybe a dependency is all I'm missing.
>

I guess you did _not_ enable CONFIG_PM_RUNTIME, right?

pm_wq is only defined when CONFIG_PM_RUNTIME is enabled.

     15 #ifdef CONFIG_PM_RUNTIME
     16
     17 extern struct workqueue_struct *pm_wq;


Regards
Jason
--
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