Commit 19a05037 authored by Jiri Kosina's avatar Jiri Kosina Committed by Tim Gardner

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

... and therefore should be marked static.

BugLink: https://bugs.launchpad.net/bugs/1616813Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
(cherry picked from commit 41f61ecc)
Signed-off-by: default avatarYing-Chun Liu (PaulLiu) <paul.liu@canonical.com>
Acked-by: default avatarBrad Figg <brad.figg@canonical.com>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 169ecba3
......@@ -98,7 +98,7 @@ struct u1_dev {
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,
u8 *read_val, u8 write_val, bool read_flag)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment