提交 41f61ecc 编写于 作者: J Jiri Kosina

HID: alps: struct u1_dev *priv is internal to the driver

... and therefore should be marked static.
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 2562756d
...@@ -98,7 +98,7 @@ struct u1_dev { ...@@ -98,7 +98,7 @@ struct u1_dev {
u32 sp_btn_cnt; u32 sp_btn_cnt;
}; };
struct u1_dev *priv; static struct u1_dev *priv;
static int u1_read_write_register(struct hid_device *hdev, u32 address, static int u1_read_write_register(struct hid_device *hdev, u32 address,
u8 *read_val, u8 write_val, bool read_flag) u8 *read_val, u8 write_val, bool read_flag)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册