Skip to content

Commit e90e7c2

Browse files
author
Jiri Kosina
committed
HID: steelseries: arctis_1_battery_request[] should be static
arctis_1_battery_request[] is not used outside of this module, and as such should be static. Fixes: a0c7689 ("HID: steelseries: Add support for Arctis 1 XBox") Reported-by: kernel test robot <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent a0c7689 commit e90e7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-steelseries.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ static void steelseries_srws1_remove(struct hid_device *hdev)
375375
#define STEELSERIES_HEADSET_BATTERY_TIMEOUT_MS 3000
376376

377377
#define ARCTIS_1_BATTERY_RESPONSE_LEN 8
378-
const char arctis_1_battery_request[] = { 0x06, 0x12 };
378+
static const char arctis_1_battery_request[] = { 0x06, 0x12 };
379379

380380
static int steelseries_headset_arctis_1_fetch_battery(struct hid_device *hdev)
381381
{

0 commit comments

Comments
 (0)