projects
/
platform
/
kernel
/
linux-starfive.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
|
history
diff --git
a/drivers/hid/hid-udraw-ps3.c
b/drivers/hid/hid-udraw-ps3.c
index
1f68b0b
..
88ea390
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[] = {