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:
parent
0edffe655a
commit
9c5dcd7231
|
@ -54,7 +54,7 @@ enum {
|
|||
* Accelerometer min/max values
|
||||
* in order, X, Y and Z
|
||||
*/
|
||||
struct {
|
||||
static struct {
|
||||
int min;
|
||||
int max;
|
||||
} accel_limits[] = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user