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:
0edffe6
)
HID: udraw-ps3: accel_limits is local to the driver
author
Jiri Kosina
<jkosina@suse.cz>
Tue, 15 Nov 2016 13:23:17 +0000
(14:23 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 15 Nov 2016 13:23:17 +0000
(14:23 +0100)
And as such should be marked static to avoid global namespace pollution.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-udraw-ps3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-udraw-ps3.c
b/drivers/hid/hid-udraw-ps3.c
index 1f68b0b5f12e9941c1b32e7697976223ca9e852f..88ea390c10ad4a04bc8be43f3af848539538e7f5 100644
(file)
--- a/
drivers/hid/hid-udraw-ps3.c
+++ b/
drivers/hid/hid-udraw-ps3.c
@@
-54,7
+54,7
@@
enum {
* Accelerometer min/max values
* in order, X, Y and Z
*/
-struct {
+st
atic st
ruct {
int min;
int max;
} accel_limits[] = {