On Thu, Jan 07, 2010 at 09:03:11PM -0400, Francisco Alecrim wrote: > From: Francisco Alecrim <francisco.alecrim@xxxxxxxxxxxxx> > > include/linux/usb.h: In function 'usb_mark_last_busy': > include/linux/usb.h:561: error: 'struct usb_device' has no member named > 'last_busy' > > Option USB_OTG selects USB_SUSPEND but doesn't select PM(required by > USB_SUSPEND) causing this compile error. Putting USB_SUSPEND as > USB_OTG depend ensure that PM is selected. For me it seems sufficient to just remove the select of USB_SUSPEND. USB_OTG compiles fine without it. Seems harsh to require someone to enable CONFIG_PM and USB_SUSPEND just to compile OTG drivers. -Olof -- 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