projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2562756
)
HID: alps: struct u1_dev *priv is internal to the driver
author
Jiri Kosina
<jkosina@suse.cz>
Fri, 17 Jun 2016 21:15:04 +0000
(23:15 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Fri, 17 Jun 2016 21:15:04 +0000
(23:15 +0200)
... and therefore should be marked static.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-alps.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-alps.c
b/drivers/hid/hid-alps.c
index b79c318987a3d3c511b7ce3003b5eb6ac10b8036..098bce621c6c9dddedcb1f82f40cec6168e96d45 100644
(file)
--- a/
drivers/hid/hid-alps.c
+++ b/
drivers/hid/hid-alps.c
@@
-98,7
+98,7
@@
struct u1_dev {
u32 sp_btn_cnt;
};
-struct u1_dev *priv;
+st
atic st
ruct u1_dev *priv;
static int u1_read_write_register(struct hid_device *hdev, u32 address,
u8 *read_val, u8 write_val, bool read_flag)