kernel-aes67/drivers/hid/amd-sfh-hid
Basavaraj Natikar 90184f90c9 HID: amd_sfh: Set the AMD SFH driver to depend on x86
Considering that amd_sfh exists only on AMD platforms, set the AMD SFH
driver to depend on x86 to avoid build warnings or errors on other
architectures, as shown below.

drivers/hid/amd-sfh-hid/amd_sfh_pcie.c: In function 'amd_mp2_pci_probe':
drivers/hid/amd-sfh-hid/amd_sfh_pcie.c:413:21: error: 'boot_cpu_data'
undeclared (first use in this function); did you mean 'boot_cpu_hwid'?
  413 |                 if (boot_cpu_data.x86 >= 0x1A)
      |                     ^~~~~~~~~~~~~
      |                     boot_cpu_hwid

Fixes: 6296562f30 ("HID: amd_sfh: Extend MP2 register access to SFH")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/all/20240228145648.41c493ec@canb.auug.org.au/
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
2024-02-28 13:10:55 +01:00
..
hid_descriptor HID: amd_sfh: Add light chromaticity support 2023-09-24 13:31:33 +01:00
sfh1_1 HID: amd_sfh: Extend MP2 register access to SFH 2024-02-27 15:13:55 +01:00
Kconfig HID: amd_sfh: Set the AMD SFH driver to depend on x86 2024-02-28 13:10:55 +01:00
Makefile
amd_sfh_client.c HID: amd_sfh: Split sensor and HID initialization 2023-05-23 15:58:30 +02:00
amd_sfh_common.h HID: amd_sfh: Extend MP2 register access to SFH 2024-02-27 15:13:55 +01:00
amd_sfh_hid.c
amd_sfh_hid.h HID: amd_sfh: Fix max supported HID devices 2023-04-25 10:58:28 +02:00
amd_sfh_pcie.c HID: amd_sfh: Extend MP2 register access to SFH 2024-02-27 15:13:55 +01:00
amd_sfh_pcie.h HID: amd_sfh: Update HPD sensor structure elements 2024-02-27 15:13:55 +01:00