aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/keyspan.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 19:47:47 -0400
commitea65370d025f5005649e5cb37c4d025e92c6fc38 (patch)
tree554476fb8c69fc0f0f7dc5e2287f4c9cec1a26d6 /drivers/usb/serial/keyspan.h
parenta6c82600d4058346ea6fd801bc21d7abcc1350d8 (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/keyspan.h')
-rw-r--r--drivers/usb/serial/keyspan.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/serial/keyspan.h b/drivers/usb/serial/keyspan.h
index e9b45b768aca..97e7d9e53e39 100644
--- a/drivers/usb/serial/keyspan.h
+++ b/drivers/usb/serial/keyspan.h
@@ -570,7 +570,7 @@ static struct usb_device_id keyspan_4port_ids[] = {
570}; 570};
571 571
572/* Structs for the devices, pre and post renumeration. */ 572/* Structs for the devices, pre and post renumeration. */
573static struct usb_serial_device_type keyspan_pre_device = { 573static struct usb_serial_driver keyspan_pre_device = {
574 .owner = THIS_MODULE, 574 .owner = THIS_MODULE,
575 .name = "Keyspan - (without firmware)", 575 .name = "Keyspan - (without firmware)",
576 .short_name = "keyspan_no_firm", 576 .short_name = "keyspan_no_firm",
@@ -582,7 +582,7 @@ static struct usb_serial_device_type keyspan_pre_device = {
582 .attach = keyspan_fake_startup, 582 .attach = keyspan_fake_startup,
583}; 583};
584 584
585static struct usb_serial_device_type keyspan_1port_device = { 585static struct usb_serial_driver keyspan_1port_device = {
586 .owner = THIS_MODULE, 586 .owner = THIS_MODULE,
587 .name = "Keyspan 1 port adapter", 587 .name = "Keyspan 1 port adapter",
588 .short_name = "keyspan_1", 588 .short_name = "keyspan_1",
@@ -607,7 +607,7 @@ static struct usb_serial_device_type keyspan_1port_device = {
607 .shutdown = keyspan_shutdown, 607 .shutdown = keyspan_shutdown,
608}; 608};
609 609
610static struct usb_serial_device_type keyspan_2port_device = { 610static struct usb_serial_driver keyspan_2port_device = {
611 .owner = THIS_MODULE, 611 .owner = THIS_MODULE,
612 .name = "Keyspan 2 port adapter", 612 .name = "Keyspan 2 port adapter",
613 .short_name = "keyspan_2", 613 .short_name = "keyspan_2",
@@ -632,7 +632,7 @@ static struct usb_serial_device_type keyspan_2port_device = {
632 .shutdown = keyspan_shutdown, 632 .shutdown = keyspan_shutdown,
633}; 633};
634 634
635static struct usb_serial_device_type keyspan_4port_device = { 635static struct usb_serial_driver keyspan_4port_device = {
636 .owner = THIS_MODULE, 636 .owner = THIS_MODULE,
637 .name = "Keyspan 4 port adapter", 637 .name = "Keyspan 4 port adapter",
638 .short_name = "keyspan_4", 638 .short_name = "keyspan_4",