From: Jon Hunter jonathanh@nvidia.com
commit 1dcaf30725c32b26daa70d22083999972ab99c29 upstream.
When the Tegra194 CPUFREQ driver is built as a module it is not automatically loaded as expected on Tegra194 devices. Populate the MODULE_DEVICE_TABLE to fix this.
Cc: v5.9+ stable@vger.kernel.org # v5.9+ Fixes: df320f89359c ("cpufreq: Add Tegra194 cpufreq driver") Signed-off-by: Jon Hunter jonathanh@nvidia.com Signed-off-by: Viresh Kumar viresh.kumar@linaro.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org --- drivers/cpufreq/tegra194-cpufreq.c | 1 + 1 file changed, 1 insertion(+)
--- a/drivers/cpufreq/tegra194-cpufreq.c +++ b/drivers/cpufreq/tegra194-cpufreq.c @@ -279,6 +279,7 @@ static struct cpufreq_driver tegra194_cp .init = tegra194_cpufreq_init, .attr = cpufreq_generic_attr, }; +MODULE_DEVICE_TABLE(of, tegra194_cpufreq_of_match);
static void tegra194_cpufreq_free_resources(void) {