diff options
author | Johan Hovold <johan@kernel.org> | 2020-07-13 12:55:17 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-07-14 11:50:45 +0200 |
commit | 16045babc7985cef48b355540d11bd942220931d (patch) | |
tree | 4d896eddc58707f8a6803bda27af47136abb7784 /drivers/usb/serial/cp210x.c | |
parent | ba84190eab5ba27c171b610ec1d8e0957638d8ec (diff) |
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 <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/cp210x.c')
-rw-r--r-- | drivers/usb/serial/cp210x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index 09445b7a8f64..d0c05aa8a0d6 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; |