diff options
Diffstat (limited to 'include/linux/usb')
| -rw-r--r-- | include/linux/usb/serial.h | 2 | ||||
| -rw-r--r-- | include/linux/usb/ulpi.h | 8 | 
2 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h index ef9be7e1e19..1819b59aab2 100644 --- a/include/linux/usb/serial.h +++ b/include/linux/usb/serial.h @@ -66,6 +66,7 @@   *	port.   * @flags: usb serial port flags   * @write_wait: a wait_queue_head_t used by the port. + * @delta_msr_wait: modem-status-change wait queue   * @work: work queue entry for the line discipline waking up.   * @throttled: nonzero if the read urb is inactive to throttle the device   * @throttle_req: nonzero if the tty wants to throttle us @@ -112,6 +113,7 @@ struct usb_serial_port {  	unsigned long		flags;  	wait_queue_head_t	write_wait; +	wait_queue_head_t	delta_msr_wait;  	struct work_struct	work;  	char			throttled;  	char			throttle_req; diff --git a/include/linux/usb/ulpi.h b/include/linux/usb/ulpi.h index 6f033a415ec..5c295c26ad3 100644 --- a/include/linux/usb/ulpi.h +++ b/include/linux/usb/ulpi.h @@ -181,8 +181,16 @@  /*-------------------------------------------------------------------------*/ +#if IS_ENABLED(CONFIG_USB_ULPI)  struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops,  					unsigned int flags); +#else +static inline struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops, +					      unsigned int flags) +{ +	return NULL; +} +#endif  #ifdef CONFIG_USB_ULPI_VIEWPORT  /* access ops for controllers with a viewport register */  |