Skip to content

Commit 757ee87

Browse files
paligregkh
authored andcommitted
cpufreq: qcom: Add missing MODULE_DEVICE_TABLE
[ Upstream commit a5a6031 ] 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: 46e2856 ("cpufreq: Add Kryo CPU scaling driver") Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 5f03e8a commit 757ee87

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/cpufreq/qcom-cpufreq-nvmem.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ static const struct of_device_id qcom_cpufreq_match_list[] __initconst = {
464464
{ .compatible = "qcom,msm8960", .data = &match_data_krait },
465465
{},
466466
};
467+
MODULE_DEVICE_TABLE(of, qcom_cpufreq_match_list);
467468

468469
/*
469470
* Since the driver depends on smem and nvmem drivers, which may

0 commit comments

Comments
 (0)