Skip to content

Commit e2a0883

Browse files
committed
cpufreq: tegra194: Fix module loading
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2122311 commit 1dcaf30 Author: Jon Hunter <jonathanh@nvidia.com> Date: Tue Oct 11 16:32:43 2022 +0100 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: df320f8 ("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: Mark Langsdorf <mlangsdo@redhat.com>
1 parent 283eddb commit e2a0883

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/cpufreq/tegra194-cpufreq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ static const struct of_device_id tegra194_cpufreq_of_match[] = {
592592
{ .compatible = "nvidia,tegra234-ccplex-cluster", .data = &tegra234_cpufreq_soc },
593593
{ /* sentinel */ }
594594
};
595+
MODULE_DEVICE_TABLE(of, tegra194_cpufreq_of_match);
595596

596597
static struct platform_driver tegra194_ccplex_driver = {
597598
.driver = {

0 commit comments

Comments
 (0)