diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 19:47:47 -0400 |
commit | ea65370d025f5005649e5cb37c4d025e92c6fc38 (patch) | |
tree | 554476fb8c69fc0f0f7dc5e2287f4c9cec1a26d6 /drivers/usb/serial/cypress_m8.c | |
parent | a6c82600d4058346ea6fd801bc21d7abcc1350d8 (diff) |
[PATCH] USB Serial: rename usb_serial_device_type to usb_serial_driver
I'm tired of trying to explain why a "device_type" is really a driver.
This better describes exactly what this structure is.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/cypress_m8.c')
-rw-r--r-- | drivers/usb/serial/cypress_m8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c index 9ee1aaff2fcd..4fb8e59d1527 100644 --- a/drivers/usb/serial/cypress_m8.c +++ b/drivers/usb/serial/cypress_m8.c | |||
@@ -176,7 +176,7 @@ static unsigned int cypress_buf_put(struct cypress_buf *cb, const char *buf, u | |||
176 | static unsigned int cypress_buf_get(struct cypress_buf *cb, char *buf, unsigned int count); | 176 | static unsigned int cypress_buf_get(struct cypress_buf *cb, char *buf, unsigned int count); |
177 | 177 | ||
178 | 178 | ||
179 | static struct usb_serial_device_type cypress_earthmate_device = { | 179 | static struct usb_serial_driver cypress_earthmate_device = { |
180 | .owner = THIS_MODULE, | 180 | .owner = THIS_MODULE, |
181 | .name = "DeLorme Earthmate USB", | 181 | .name = "DeLorme Earthmate USB", |
182 | .short_name = "earthmate", | 182 | .short_name = "earthmate", |
@@ -203,7 +203,7 @@ static struct usb_serial_device_type cypress_earthmate_device = { | |||
203 | .write_int_callback = cypress_write_int_callback, | 203 | .write_int_callback = cypress_write_int_callback, |
204 | }; | 204 | }; |
205 | 205 | ||
206 | static struct usb_serial_device_type cypress_hidcom_device = { | 206 | static struct usb_serial_driver cypress_hidcom_device = { |
207 | .owner = THIS_MODULE, | 207 | .owner = THIS_MODULE, |
208 | .name = "HID->COM RS232 Adapter", | 208 | .name = "HID->COM RS232 Adapter", |
209 | .short_name = "cyphidcom", | 209 | .short_name = "cyphidcom", |