提交 16045bab 编写于 作者: J Johan Hovold

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.orgReviewed-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NJohan Hovold <johan@kernel.org>
上级 ba84190e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册