diff options
author | Jiri Kosina <jkosina@suse.cz> | 2016-11-15 16:23:17 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-11-15 16:23:17 +0300 |
commit | 9c5dcd723171ad96f9e25ebf69514b74577cade7 (patch) | |
tree | ce4a16c54fb3be85332dbf66a589ede376dbbe0d /drivers | |
parent | 0edffe655a52d7ce7c093212bc0cce6576084a8e (diff) | |
download | linux-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')
-rw-r--r-- | drivers/hid/hid-udraw-ps3.c | 2 |
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[] = { |