Skip to content

Commit 1dcaf30

Browse files
jonhuntervireshk
authored andcommitted
cpufreq: tegra194: Fix module loading
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+ <[email protected]> # v5.9+ Fixes: df320f8 ("cpufreq: Add Tegra194 cpufreq driver") Signed-off-by: Jon Hunter <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent 9abf231 commit 1dcaf30

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
@@ -589,6 +589,7 @@ static const struct of_device_id tegra194_cpufreq_of_match[] = {
589589
{ .compatible = "nvidia,tegra239-ccplex-cluster", .data = &tegra239_cpufreq_soc },
590590
{ /* sentinel */ }
591591
};
592+
MODULE_DEVICE_TABLE(of, tegra194_cpufreq_of_match);
592593

593594
static struct platform_driver tegra194_ccplex_driver = {
594595
.driver = {

0 commit comments

Comments
 (0)