Skip to content

Commit

Permalink
HID: steelseries: arctis_1_battery_request[] should be static
Browse files Browse the repository at this point in the history
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 <lkp@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Jiri Kosina committed Aug 14, 2023
1 parent a0c7689 commit e90e7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hid/hid-steelseries.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ static void steelseries_srws1_remove(struct hid_device *hdev)
#define STEELSERIES_HEADSET_BATTERY_TIMEOUT_MS 3000

#define ARCTIS_1_BATTERY_RESPONSE_LEN 8
const char arctis_1_battery_request[] = { 0x06, 0x12 };
static const char arctis_1_battery_request[] = { 0x06, 0x12 };

static int steelseries_headset_arctis_1_fetch_battery(struct hid_device *hdev)
{
Expand Down

0 comments on commit e90e7c2

Please sign in to comment.