commit | 9c5dcd723171ad96f9e25ebf69514b74577cade7 | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Tue Nov 15 14:23:17 2016 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Tue Nov 15 14:23:17 2016 +0100 |
tree | ce4a16c54fb3be85332dbf66a589ede376dbbe0d | |
parent | 0edffe655a52d7ce7c093212bc0cce6576084a8e [diff] |
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>
diff --git a/drivers/hid/hid-udraw-ps3.c b/drivers/hid/hid-udraw-ps3.c index 1f68b0b..88ea390 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[] = {