[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>
This commit is contained in:
@@ -75,7 +75,7 @@ static struct usb_device_id id_table_combined [] = {
|
||||
|
||||
MODULE_DEVICE_TABLE (usb, id_table_combined);
|
||||
|
||||
static struct usb_serial_device_type edgeport_2port_device = {
|
||||
static struct usb_serial_driver edgeport_2port_device = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "Edgeport 2 port adapter",
|
||||
.short_name = "edgeport_2",
|
||||
@@ -103,7 +103,7 @@ static struct usb_serial_device_type edgeport_2port_device = {
|
||||
.write_bulk_callback = edge_bulk_out_data_callback,
|
||||
};
|
||||
|
||||
static struct usb_serial_device_type edgeport_4port_device = {
|
||||
static struct usb_serial_driver edgeport_4port_device = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "Edgeport 4 port adapter",
|
||||
.short_name = "edgeport_4",
|
||||
@@ -131,7 +131,7 @@ static struct usb_serial_device_type edgeport_4port_device = {
|
||||
.write_bulk_callback = edge_bulk_out_data_callback,
|
||||
};
|
||||
|
||||
static struct usb_serial_device_type edgeport_8port_device = {
|
||||
static struct usb_serial_driver edgeport_8port_device = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "Edgeport 8 port adapter",
|
||||
.short_name = "edgeport_8",
|
||||
|
Reference in New Issue
Block a user