summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq/governor_userspace.c
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2012-10-29 21:01:46 +0100
committerMyungJoo Ham <myungjoo.ham@samsung.com>2012-11-20 10:46:23 +0100
commiteff607fdb1f787da1fedf46ab6e64adc2afd1c5a (patch)
tree3405d164b0d1912596ebd78df2f742a34fc2e4f5 /drivers/devfreq/governor_userspace.c
parentPM / devfreq: map devfreq drivers to governor using name (diff)
downloadlinux-eff607fdb1f787da1fedf46ab6e64adc2afd1c5a.tar.xz
linux-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_userspace.c')
-rw-r--r--drivers/devfreq/governor_userspace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/devfreq/governor_userspace.c b/drivers/devfreq/governor_userspace.c
index 34fb80f50cf6..35de6e83c1fe 100644
--- a/drivers/devfreq/governor_userspace.c
+++ b/drivers/devfreq/governor_userspace.c
@@ -14,6 +14,7 @@
#include <linux/devfreq.h>
#include <linux/pm.h>
#include <linux/mutex.h>
+#include <linux/module.h>
#include "governor.h"
struct userspace_data {
@@ -158,3 +159,4 @@ static void __exit devfreq_userspace_exit(void)
return;
}
module_exit(devfreq_userspace_exit);
+MODULE_LICENSE("GPL");