Re: [RFC 2/5] USB: core: OTG Supplement Revision 2.0 updates

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

 



Hi,

On Thu, Dec 16, 2010 at 02:24:05PM +0530, Pavan Kondeti wrote:
@@ -1270,6 +1283,43 @@ static int usb_resume_both(struct usb_device *udev, pm_message_t msg)
	return status;
}

+#ifdef CONFIG_USB_OTG
+void usb_hnp_polling_work(struct work_struct *work)

do you really need this to be exported ??


The work struct is per USB bus. The bus is initialized in core/hcd.c. I
kept the work function here as it it belongs to usb core (I mean not HCD
specific) like other USB auto suspend functions.

I see, it wasn't obvious from the patch, sorry :-)

--
balbi
--
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