On 12/16/2010 3:23 AM, Greg KH wrote: > On Wed, Dec 15, 2010 at 04:44:11PM +0530, Pavankumar Kondeti wrote: >> --- a/drivers/usb/core/driver.c >> +++ b/drivers/usb/core/driver.c >> @@ -1207,6 +1207,19 @@ static int usb_suspend_both(struct usb_device *udev, pm_message_t msg) >> * and flush any outstanding URBs. >> */ >> } else { >> +#ifdef CONFIG_USB_OTG > > No ifdefs allowed, sorry. > > Please rework this. > I have seen using CONFIG_USB_OTG in core/hub.c and followed the same. But the code I have added does not have to depend on CONFGI_USB_OTG. I will fix this in V2 patch set. Thanks, Pavan -- Sent by a consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. -- 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