From: Johan Hovold Date: Mon, 13 Jul 2020 10:55:17 +0000 (+0200) Subject: USB: serial: cp210x: use in-kernel types in port data X-Git-Tag: v5.9-rc1~142^2~29^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16045babc7985cef48b355540d11bd942220931d;p=thirdparty%2Flinux.git USB: serial: cp210x: use in-kernel types in port data The port data is not exported to user space so use the in-kernel u8 type. Link: https://lore.kernel.org/r/20200713105517.27796-6-johan@kernel.org Reviewed-by: Greg Kroah-Hartman Signed-off-by: Johan Hovold --- diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index 09445b7a8f649..d0c05aa8a0d6e 100644 --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c @@ -266,7 +266,7 @@ enum cp210x_event_state { }; struct cp210x_port_private { - __u8 bInterfaceNumber; + u8 bInterfaceNumber; bool has_swapped_line_ctl; bool event_mode; enum cp210x_event_state event_state;