diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2014-08-08 02:56:30 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-08-08 20:43:33 -0400 |
commit | 39c8bbaf67b157017929703a5eea7e83525b147c (patch) | |
tree | 6b7755547c4f9e79d938875861dbce2d1e798f69 /drivers/cpufreq/arm_big_little.c | |
parent | a5f30eba78969624ed8e86db81a8dd91736f79f3 (diff) |
cpufreq: arm_big_little: fix module license spec
Having no license specification in a module taints the kernel during load
with:
arm_big_little: module license 'unspecified' taints kernel.
and also the linker doesn't allow it to make use of GPL-exported symbols
which in this case also results in errors like:
arm_big_little: Unknown symbol cpufreq_register_driver (err 0)
. The header of the driver specifies a GPL v2 license, so note that
accordingly. While at it also add a description and an author and fix
the license in a companion file to explicit v2.
Reported-by: Andreas Schwab <schwab@suse.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/arm_big_little.c')
-rw-r--r-- | drivers/cpufreq/arm_big_little.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/cpufreq/arm_big_little.c b/drivers/cpufreq/arm_big_little.c index 1f4d4e315057..a46c223c2506 100644 --- a/drivers/cpufreq/arm_big_little.c +++ b/drivers/cpufreq/arm_big_little.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/cpufreq.h> | 24 | #include <linux/cpufreq.h> |
25 | #include <linux/cpumask.h> | 25 | #include <linux/cpumask.h> |
26 | #include <linux/export.h> | 26 | #include <linux/export.h> |
27 | #include <linux/module.h> | ||
27 | #include <linux/mutex.h> | 28 | #include <linux/mutex.h> |
28 | #include <linux/of_platform.h> | 29 | #include <linux/of_platform.h> |
29 | #include <linux/pm_opp.h> | 30 | #include <linux/pm_opp.h> |
@@ -593,3 +594,7 @@ void bL_cpufreq_unregister(struct cpufreq_arm_bL_ops *ops) | |||
593 | arm_bL_ops = NULL; | 594 | arm_bL_ops = NULL; |
594 | } | 595 | } |
595 | EXPORT_SYMBOL_GPL(bL_cpufreq_unregister); | 596 | EXPORT_SYMBOL_GPL(bL_cpufreq_unregister); |
597 | |||
598 | MODULE_AUTHOR("Viresh Kumar <viresh.kumar@linaro.org>"); | ||
599 | MODULE_DESCRIPTION("Generic ARM big LITTLE cpufreq driver"); | ||
600 | MODULE_LICENSE("GPL v2"); | ||