cpufreq: qcom: Add missing MODULE_DEVICE_TABLE

[ Upstream commit a5a6031663bc1dd0a10babd49d1bcb3153a8327f ]

This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this cpufreq driver when it is
compiled as an external module.

Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: 46e2856b8e ("cpufreq: Add Kryo CPU scaling driver")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Pali Rohár 2020-11-03 16:11:34 +01:00 committed by Greg Kroah-Hartman
parent c9d204c028
commit 742697643c

View File

@ -305,6 +305,7 @@ static const struct of_device_id qcom_cpufreq_match_list[] __initconst = {
{ .compatible = "qcom,qcs404", .data = &match_data_qcs404 }, { .compatible = "qcom,qcs404", .data = &match_data_qcs404 },
{}, {},
}; };
MODULE_DEVICE_TABLE(of, qcom_cpufreq_match_list);
/* /*
* Since the driver depends on smem and nvmem drivers, which may * Since the driver depends on smem and nvmem drivers, which may