90184f90c9
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:
|
||
---|---|---|
.. | ||
hid_descriptor | ||
sfh1_1 | ||
Kconfig | ||
Makefile | ||
amd_sfh_client.c | ||
amd_sfh_common.h | ||
amd_sfh_hid.c | ||
amd_sfh_hid.h | ||
amd_sfh_pcie.c | ||
amd_sfh_pcie.h |