diff options
| author | Will Deacon <[email protected]> | 2022-02-08 15:12:28 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2022-02-08 15:12:28 +0000 |
| commit | 8c0c56879d067ad1e68c0aeeecc7d5f57bac3ffd (patch) | |
| tree | 991d1c3161070aee87a96fcd30bacb4aa92bdef4 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 6f75217b20a768c72fb8bb999e25a95673fe0174 (diff) | |
perf/marvell_cn10k: Fix unused variable warning when W=1 and CONFIG_OF=n
The kbuild helpfully reports that the Marvell CN10K TAD PMU driver emits
a warning when building with W=1 and CONFIG_OF=n:
| >> drivers/perf/marvell_cn10k_tad_pmu.c:371:34: warning: unused variable 'tad_pmu_of_match' [-Wunused-const-variable]
static const struct of_device_id tad_pmu_of_match[] = {
Guard the match table with CONFIG_OF to squash the warning.
Link: https://lore.kernel.org/r/[email protected]
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions