mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
HID: alps: struct u1_dev *priv is internal to the driver
... and therefore should be marked static. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
2562756dde
commit
41f61ecc50
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue