lkml.org 
[lkml]   [2020]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.10 326/717] cpufreq: qcom: Add missing MODULE_DEVICE_TABLE
    Date
    From: Pali Rohár <pali@kernel.org>

    [ 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>
    ---
    drivers/cpufreq/qcom-cpufreq-nvmem.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c
    index d06b37822c3df..fba9937a406b3 100644
    --- a/drivers/cpufreq/qcom-cpufreq-nvmem.c
    +++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c
    @@ -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
    --
    2.27.0


    \
     
     \ /
      Last update: 2020-12-28 15:59    [W:2.366 / U:2.840 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site