diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c index a2b7ea726bfbf7f8476dec6ca85fb7491bd93168..9481385393784390145e420a82b7c69842d516f6 100644 --- a/drivers/usb/serial/ch341.c +++ b/drivers/usb/serial/ch341.c @@ -577,7 +577,7 @@ static int ch341_tiocmget(struct tty_struct *tty) return result; } -static int ch341_resume(struct usb_serial *serial) +static int ch341_reset_resume(struct usb_serial *serial) { struct ch341_private *priv; @@ -607,7 +607,7 @@ static struct usb_serial_driver ch341_device = { .tiocmset = ch341_tiocmset, .read_int_callback = ch341_read_int_callback, .attach = ch341_attach, - .resume = ch341_resume, + .resume = ch341_reset_resume, }; static struct usb_serial_driver * const serial_drivers[] = {