diff options
Diffstat (limited to 'drivers/usb/serial/cp210x.c')
-rw-r--r-- | drivers/usb/serial/cp210x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index 16a154d3b2fe..2b9eeda62bfe 100644 --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c | |||
@@ -50,7 +50,7 @@ static int cp210x_tiocmset_port(struct usb_serial_port *port, struct file *, | |||
50 | unsigned int, unsigned int); | 50 | unsigned int, unsigned int); |
51 | static void cp210x_break_ctl(struct tty_struct *, int); | 51 | static void cp210x_break_ctl(struct tty_struct *, int); |
52 | static int cp210x_startup(struct usb_serial *); | 52 | static int cp210x_startup(struct usb_serial *); |
53 | static void cp210x_shutdown(struct usb_serial *); | 53 | static void cp210x_disconnect(struct usb_serial *); |
54 | 54 | ||
55 | static int debug; | 55 | static int debug; |
56 | 56 | ||
@@ -137,7 +137,7 @@ static struct usb_serial_driver cp210x_device = { | |||
137 | .tiocmget = cp210x_tiocmget, | 137 | .tiocmget = cp210x_tiocmget, |
138 | .tiocmset = cp210x_tiocmset, | 138 | .tiocmset = cp210x_tiocmset, |
139 | .attach = cp210x_startup, | 139 | .attach = cp210x_startup, |
140 | .shutdown = cp210x_shutdown, | 140 | .disconnect = cp210x_disconnect, |
141 | }; | 141 | }; |
142 | 142 | ||
143 | /* Config request types */ | 143 | /* Config request types */ |
@@ -792,7 +792,7 @@ static int cp210x_startup(struct usb_serial *serial) | |||
792 | return 0; | 792 | return 0; |
793 | } | 793 | } |
794 | 794 | ||
795 | static void cp210x_shutdown(struct usb_serial *serial) | 795 | static void cp210x_disconnect(struct usb_serial *serial) |
796 | { | 796 | { |
797 | int i; | 797 | int i; |
798 | 798 | ||