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>
This commit is contained in:
Jiri Kosina 2016-11-15 14:23:17 +01:00
parent 0edffe655a
commit 9c5dcd7231

View 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[] = {