aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/devfreq/governor_simpleondemand.c
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2012-10-29 15:01:46 -0500
committerMyungJoo Ham <myungjoo.ham@samsung.com>2012-11-20 18:46:23 +0900
commiteff607fdb1f787da1fedf46ab6e64adc2afd1c5a (patch)
tree3405d164b0d1912596ebd78df2f742a34fc2e4f5 /drivers/devfreq/governor_simpleondemand.c
parentPM / devfreq: map devfreq drivers to governor using name (diff)
downloadlinux-dev-eff607fdb1f787da1fedf46ab6e64adc2afd1c5a.tar.xz
linux-dev-eff607fdb1f787da1fedf46ab6e64adc2afd1c5a.zip
PM / devfreq: governors: add GPL module license and allow module build
Add GPL module license and remove the static build restrictions for building governors. This allows governors now to be loaded on a need basis and reloaded independently of kernel build Cc: Rajagopal Venkat <rajagopal.venkat@linaro.org> Cc: MyungJoo Ham <myungjoo.ham@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: Kevin Hilman <khilman@ti.com> Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Nishanth Menon <nm@ti.com> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/devfreq/governor_simpleondemand.c')
-rw-r--r--drivers/devfreq/governor_simpleondemand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/devfreq/governor_simpleondemand.c b/drivers/devfreq/governor_simpleondemand.c
index a870a24bb56b..0720ba84ca92 100644
--- a/drivers/devfreq/governor_simpleondemand.c
+++ b/drivers/devfreq/governor_simpleondemand.c
@@ -10,6 +10,7 @@
*/
#include <linux/errno.h>
+#include <linux/module.h>
#include <linux/devfreq.h>
#include <linux/math64.h>
#include "governor.h"
@@ -143,3 +144,4 @@ static void __exit devfreq_simple_ondemand_exit(void)
return;
}
module_exit(devfreq_simple_ondemand_exit);
+MODULE_LICENSE("GPL");