linux/drivers/hid/amd-sfh-hid
Tom Rix 62f8857b2d HID: amd_sfh: change global variables to static
Smatch reports this representative issue
amd_sfh_hid_report_desc.h:182:10: warning: symbol 'gyro3_report_descriptor' was not declared. Should it be static?
Similar issues for comp3_report_descriptor and als_report_descriptor.

Global variables should not be defined in header files.
This only works because amd_sfh_hid_report_desc.h in only included by
amd_sfh_hid_desc.c so change the storage-class specifiers to static.

Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2022-04-21 10:18:54 +02:00
..
hid_descriptor HID: amd_sfh: change global variables to static 2022-04-21 10:18:54 +02:00
amd_sfh_client.c HID: amd_sfh: Update Copyright details 2021-09-27 10:01:44 +02:00
amd_sfh_hid.c HID: amd_sfh: Update Copyright details 2021-09-27 10:01:44 +02:00
amd_sfh_hid.h HID: amd_sfh: Update Copyright details 2021-09-27 10:01:44 +02:00
amd_sfh_pcie.c Merge branch 'for-5.18/amd-sfh' into for-linus 2022-03-23 09:58:40 +01:00
amd_sfh_pcie.h HID: amd_sfh: Add interrupt handler to process interrupts 2022-02-14 16:28:51 +01:00
Kconfig
Makefile