summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq/governor_powersave.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_powersave.c
parent1b5c1be2c88e8445a20fa1929e26c37e7ca8c926 (diff)
downloadlinux-eff607fdb1f787da1fedf46ab6e64adc2afd1c5a.tar.bz2
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_powersave.c')
-rw-r--r--drivers/devfreq/governor_powersave.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/devfreq/governor_powersave.c b/drivers/devfreq/governor_powersave.c
index 8612c0f96b79..0c6bed567e6d 100644
--- a/drivers/devfreq/governor_powersave.c
+++ b/drivers/devfreq/governor_powersave.c
@@ -10,6 +10,7 @@
*/
#include <linux/devfreq.h>
+#include <linux/module.h>
#include "governor.h"
static int devfreq_powersave_func(struct devfreq *df,
@@ -60,3 +61,4 @@ static void __exit devfreq_powersave_exit(void)
return;
}
module_exit(devfreq_powersave_exit);
+MODULE_LICENSE("GPL");