From: Jiri Kosina Date: Tue, 15 Nov 2016 13:23:17 +0000 (+0100) Subject: HID: udraw-ps3: accel_limits is local to the driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9c5dcd723171ad96f9e25ebf69514b74577cade7;p=linux-beck.git 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 --- 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[] = {