mirror of
https://github.com/torvalds/linux
synced 2024-10-04 02:10:58 +00:00
527a7f5252
The kbuild robot reports that building the SMMUv3 PMU driver with
CONFIG_OF=n results in a warning for W=1 builds:
>> drivers/perf/arm_smmuv3_pmu.c:889:34: warning: unused variable 'smmu_pmu_of_match' [-Wunused-const-variable]
static const struct of_device_id smmu_pmu_of_match[] = {
^
Guard the match table with #ifdef CONFIG_OF.
Link: https://lore.kernel.org/r/202201041700.01KZEzhb-lkp@intel.com
Fixes:
|
||
---|---|---|
.. | ||
hisilicon | ||
arm-cci.c | ||
arm-ccn.c | ||
arm-cmn.c | ||
arm_dmc620_pmu.c | ||
arm_dsu_pmu.c | ||
arm_pmu.c | ||
arm_pmu_acpi.c | ||
arm_pmu_platform.c | ||
arm_smmuv3_pmu.c | ||
arm_spe_pmu.c | ||
fsl_imx8_ddr_perf.c | ||
Kconfig | ||
Makefile | ||
marvell_cn10k_tad_pmu.c | ||
qcom_l2_pmu.c | ||
qcom_l3_pmu.c | ||
thunderx2_pmu.c | ||
xgene_pmu.c |