Commit a5a60316 authored by Pali Rohár's avatar Pali Rohár Committed by Viresh Kumar
Browse files

cpufreq: qcom: Add missing MODULE_DEVICE_TABLE



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: default avatarPali Rohár <pali@kernel.org>
Fixes: 46e2856b ("cpufreq: Add Kryo CPU scaling driver")
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent af6eca06
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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