diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-03-08 22:50:12 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:31 -0400 |
commit | bd5afa9eac6daa408412a31a6c69e87e8bd28c7e (patch) | |
tree | 5f99e4ee9d787d038746c2217f7c1152fad3c453 /include | |
parent | 9757de384451a606af8c722213cb973192cbbd1b (diff) |
usb-serial: Use tty_port version console instead of usb_serial_port
Replace all instances of using the console variable in struct
usb_serial_port with the struct tty_port version.
CC: Alan Cox <alan@linux.intel.com>
CC: Alan Stern <stern@rowland.harvard.edu>
CC: Oliver Neukum <oliver@neukum.org>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: linux-usb@vger.kernel.org
CC: linux-kernel@vger.kernel.org
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/serial.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h index 0a458b861933..b7682fed1d9c 100644 --- a/include/linux/usb/serial.h +++ b/include/linux/usb/serial.h | |||
@@ -66,7 +66,6 @@ enum port_dev_state { | |||
66 | * @work: work queue entry for the line discipline waking up. | 66 | * @work: work queue entry for the line discipline waking up. |
67 | * @throttled: nonzero if the read urb is inactive to throttle the device | 67 | * @throttled: nonzero if the read urb is inactive to throttle the device |
68 | * @throttle_req: nonzero if the tty wants to throttle us | 68 | * @throttle_req: nonzero if the tty wants to throttle us |
69 | * @console: attached usb serial console | ||
70 | * @dev: pointer to the serial device | 69 | * @dev: pointer to the serial device |
71 | * | 70 | * |
72 | * This structure is used by the usb-serial core and drivers for the specific | 71 | * This structure is used by the usb-serial core and drivers for the specific |
@@ -106,7 +105,6 @@ struct usb_serial_port { | |||
106 | struct work_struct work; | 105 | struct work_struct work; |
107 | char throttled; | 106 | char throttled; |
108 | char throttle_req; | 107 | char throttle_req; |
109 | char console; | ||
110 | unsigned long sysrq; /* sysrq timeout */ | 108 | unsigned long sysrq; /* sysrq timeout */ |
111 | struct device dev; | 109 | struct device dev; |
112 | enum port_dev_state dev_state; | 110 | enum port_dev_state dev_state; |