[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:
@@ -311,7 +311,7 @@ static struct usb_driver visor_driver = {
|
||||
};
|
||||
|
||||
/* All of the device info needed for the Handspring Visor, and Palm 4.0 devices */
|
||||
static struct usb_serial_device_type handspring_device = {
|
||||
static struct usb_serial_driver handspring_device = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "Handspring Visor / Palm OS",
|
||||
.short_name = "visor",
|
||||
@@ -339,7 +339,7 @@ static struct usb_serial_device_type handspring_device = {
|
||||
};
|
||||
|
||||
/* All of the device info needed for the Clie UX50, TH55 Palm 5.0 devices */
|
||||
static struct usb_serial_device_type clie_5_device = {
|
||||
static struct usb_serial_driver clie_5_device = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "Sony Clie 5.0",
|
||||
.short_name = "clie_5",
|
||||
@@ -367,7 +367,7 @@ static struct usb_serial_device_type clie_5_device = {
|
||||
};
|
||||
|
||||
/* device info for the Sony Clie OS version 3.5 */
|
||||
static struct usb_serial_device_type clie_3_5_device = {
|
||||
static struct usb_serial_driver clie_3_5_device = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "Sony Clie 3.5",
|
||||
.short_name = "clie_3.5",
|
||||
|
Reference in New Issue
Block a user