diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-16 22:24:46 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-25 23:29:35 +0200 |
commit | 78ce6dbfa317c85cfb8a8dc0b5ee588645c795c1 (patch) | |
tree | 51ed263cf3ccfc8ef4a6b02e765f37f399fad1c2 /drivers/cpufreq/integrator-cpufreq.c | |
parent | Linux 4.3-rc2 (diff) | |
download | linux-78ce6dbfa317c85cfb8a8dc0b5ee588645c795c1.tar.xz linux-78ce6dbfa317c85cfb8a8dc0b5ee588645c795c1.zip |
cpufreq: integrator: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/integrator-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/integrator-cpufreq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/integrator-cpufreq.c b/drivers/cpufreq/integrator-cpufreq.c index 2faa4216bf2a..79e3ff2771a6 100644 --- a/drivers/cpufreq/integrator-cpufreq.c +++ b/drivers/cpufreq/integrator-cpufreq.c @@ -221,6 +221,8 @@ static const struct of_device_id integrator_cpufreq_match[] = { { }, }; +MODULE_DEVICE_TABLE(of, integrator_cpufreq_match); + static struct platform_driver integrator_cpufreq_driver = { .driver = { .name = "integrator-cpufreq", |