mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 04:48:21 -04:00
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:
@@ -54,7 +54,7 @@ enum {
|
||||
* Accelerometer min/max values
|
||||
* in order, X, Y and Z
|
||||
*/
|
||||
struct {
|
||||
static struct {
|
||||
int min;
|
||||
int max;
|
||||
} accel_limits[] = {
|
||||
|
||||
Reference in New Issue
Block a user