aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/whiteheat.c
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/whiteheat.c
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/whiteheat.c')
-rw-r--r--drivers/usb/serial/whiteheat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c
index cf3bc30675a1..dc06664bfa0e 100644
--- a/drivers/usb/serial/whiteheat.c
+++ b/drivers/usb/serial/whiteheat.c
@@ -156,7 +156,7 @@ static void whiteheat_unthrottle (struct usb_serial_port *port);
156static void whiteheat_read_callback (struct urb *urb, struct pt_regs *regs); 156static void whiteheat_read_callback (struct urb *urb, struct pt_regs *regs);
157static void whiteheat_write_callback (struct urb *urb, struct pt_regs *regs); 157static void whiteheat_write_callback (struct urb *urb, struct pt_regs *regs);
158 158
159static struct usb_serial_device_type whiteheat_fake_device = { 159static struct usb_serial_driver whiteheat_fake_device = {
160 .owner = THIS_MODULE, 160 .owner = THIS_MODULE,
161 .name = "Connect Tech - WhiteHEAT - (prerenumeration)", 161 .name = "Connect Tech - WhiteHEAT - (prerenumeration)",
162 .short_name = "whiteheatnofirm", 162 .short_name = "whiteheatnofirm",
@@ -169,7 +169,7 @@ static struct usb_serial_device_type whiteheat_fake_device = {
169 .attach = whiteheat_firmware_attach, 169 .attach = whiteheat_firmware_attach,
170}; 170};
171 171
172static struct usb_serial_device_type whiteheat_device = { 172static struct usb_serial_driver whiteheat_device = {
173 .owner = THIS_MODULE, 173 .owner = THIS_MODULE,
174 .name = "Connect Tech - WhiteHEAT", 174 .name = "Connect Tech - WhiteHEAT",
175 .short_name = "whiteheat", 175 .short_name = "whiteheat",