HID: udraw-ps3: accel_limits is local to the driver
authorJiri Kosina <jkosina@suse.cz>
Tue, 15 Nov 2016 13:23:17 +0000 (14:23 +0100)
committerJiri 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

index 1f68b0b5f12e9941c1b32e7697976223ca9e852f..88ea390c10ad4a04bc8be43f3af848539538e7f5 100644 (file)
@@ -54,7 +54,7 @@ enum {
  * Accelerometer min/max values
  * in order, X, Y and Z
  */
-struct {
+static struct {
        int min;
        int max;
 } accel_limits[] = {