]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
cpufreq: qcom: Add missing MODULE_DEVICE_TABLE
authorPali Rohár <pali@kernel.org>
Tue, 3 Nov 2020 15:11:34 +0000 (16:11 +0100)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 4 Jan 2021 15:37:19 +0000 (16:37 +0100)
BugLink: https://bugs.launchpad.net/bugs/1910111
[ 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: 46e2856b8e188 ("cpufreq: Add Kryo CPU scaling driver")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/cpufreq/qcom-cpufreq-nvmem.c

index d06b37822c3dff1add1d505474efd9ecb8422f95..fba9937a406b387164a3836c69af2b1ebf2aa0c1 100644 (file)
@@ -464,6 +464,7 @@ static const struct of_device_id qcom_cpufreq_match_list[] __initconst = {
        { .compatible = "qcom,msm8960", .data = &match_data_krait },
        {},
 };
+MODULE_DEVICE_TABLE(of, qcom_cpufreq_match_list);
 
 /*
  * Since the driver depends on smem and nvmem drivers, which may