diff options
| author | 2025-11-20 14:35:02 +0100 | |
|---|---|---|
| committer | 2025-11-21 10:21:13 +0530 | |
| commit | c3852d2ca46503c00866d8eea5e18bb67d981f9b (patch) | |
| tree | 6ff8bc522ab3395497069d4b8d3289f1fb7aef4a /include/uapi/linux/media/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com | |
| parent | cpufreq: tegra194: add WQ_PERCPU to alloc_workqueue users (diff) | |
cpufreq: qcom-nvmem: fix compilation warning for qcom_cpufreq_ipq806x_match_list
If CONFIG_OF is not enabled, of_match_node() is set as NULL and
qcom_cpufreq_ipq806x_match_list won't be used causing a compilation
warning.
Flag qcom_cpufreq_ipq806x_match_list as __maybe_unused to fix the
compilation warning.
While at it also flag as __initconst as it's used only in probe contest
and can be freed after probe.
This follows the pattern of the usual of_device_id variables.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202511202119.6zvvFMup-lkp@intel.com/
Fixes: 58f5d39d5ed8 ("cpufreq: qcom-nvmem: add compatible fallback for ipq806x for no SMEM")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
[ Viresh: Drop __initconst ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'include/uapi/linux/media/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
