Skip to content

Commit

Permalink
HID: udraw-ps3: accel_limits is local to the driver
Browse files Browse the repository at this point in the history
And as such should be marked static to avoid global namespace pollution.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Jiri Kosina committed Nov 15, 2016
1 parent 0edffe6 commit 9c5dcd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hid/hid-udraw-ps3.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ enum {
* Accelerometer min/max values
* in order, X, Y and Z
*/
struct {
static struct {
int min;
int max;
} accel_limits[] = {
Expand Down

0 comments on commit 9c5dcd7

Please sign in to comment.