diff options
author | Luis de Bethencourt <[email protected]> | 2015-09-16 22:24:46 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2015-09-25 23:29:35 +0200 |
commit | 78ce6dbfa317c85cfb8a8dc0b5ee588645c795c1 (patch) | |
tree | 51ed263cf3ccfc8ef4a6b02e765f37f399fad1c2 | |
parent | 1f93e4a96c9109378204c147b3eec0d0e8100fde (diff) |
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 <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
-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", |