mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
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>
This commit is contained in:
parent
ba84190eab
commit
16045babc7
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user