summaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2016-11-15 16:23:17 +0300
committerJiri Kosina <jkosina@suse.cz>2016-11-15 16:23:17 +0300
commit9c5dcd723171ad96f9e25ebf69514b74577cade7 (patch)
treece4a16c54fb3be85332dbf66a589ede376dbbe0d /drivers/hid
parent0edffe655a52d7ce7c093212bc0cce6576084a8e (diff)
downloadlinux-9c5dcd723171ad96f9e25ebf69514b74577cade7.tar.xz
HID: udraw-ps3: accel_limits is local to the driver
And as such should be marked static to avoid global namespace pollution. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-udraw-ps3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-udraw-ps3.c b/drivers/hid/hid-udraw-ps3.c
index 1f68b0b5f12e..88ea390c10ad 100644
--- 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 {
+static struct {
int min;
int max;
} accel_limits[] = {