summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2016-07-22 06:10:32 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-07-05 12:58:36 -0400
commitb6ea6468776a44a70f5ea2db2a3dc8f1180843e1 (patch)
tree2d14d0f257b55ccea39328da3c3e5ceb296f0e5f
parentc00e685106a2f3c2daa9eeb04cc4783c64c4d9ce (diff)
devfreq: wmark: fix compilation on kernel 4.4
The watermark devfreq governors were not building on kernel 4.4 due to a missing include of module.h Add the include. JIRA HOSTX-50 Change-Id: Ieebf5cd0bf6a0737e501423c1f182de5838f31a3 Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-on: http://git-master/r/1189446 (cherry picked from linux-4.9 commit e397f5ebd40c9f5114efdd0f6da7e189e51203a6) Reviewed-on: https://git-master.nvidia.com/r/1770144 GVS: Gerrit_Virtual_Submit Reviewed-by: Timo Alho <talho@nvidia.com> Tested-by: Timo Alho <talho@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r--drivers/devfreq/governor_wmark_active.c1
-rw-r--r--drivers/devfreq/governor_wmark_simple.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/devfreq/governor_wmark_active.c b/drivers/devfreq/governor_wmark_active.c
index 48433e66b..2b7b865d7 100644
--- a/drivers/devfreq/governor_wmark_active.c
+++ b/drivers/devfreq/governor_wmark_active.c
@@ -21,6 +21,7 @@
21#include <linux/device.h> 21#include <linux/device.h>
22#include <linux/notifier.h> 22#include <linux/notifier.h>
23#include <linux/platform_device.h> 23#include <linux/platform_device.h>
24#include <linux/module.h>
24 25
25#include <governor.h> 26#include <governor.h>
26 27
diff --git a/drivers/devfreq/governor_wmark_simple.c b/drivers/devfreq/governor_wmark_simple.c
index 0c6951717..cfea8e6c8 100644
--- a/drivers/devfreq/governor_wmark_simple.c
+++ b/drivers/devfreq/governor_wmark_simple.c
@@ -21,6 +21,7 @@
21#include <linux/device.h> 21#include <linux/device.h>
22#include <linux/notifier.h> 22#include <linux/notifier.h>
23#include <linux/platform_device.h> 23#include <linux/platform_device.h>
24#include <linux/module.h>
24 25
25#include <governor.h> 26#include <governor.h>
26 27