linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cpufreq: governor: fix compile warning
@ 2016-02-04  6:06 Srinivas Pandruvada
  2016-02-04 17:25 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Srinivas Pandruvada @ 2016-02-04  6:06 UTC (permalink / raw)
  To: rjw; +Cc: linux-pm, Srinivas Pandruvada

Fix warning reported by 0-day
> drivers/cpufreq/cpufreq_governor.c:293:4: error: implicit declaration of
> function 'irq_work_queue_on' [-Werror=implicit-function-declaration]

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
 drivers/cpufreq/cpufreq_governor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/cpufreq_governor.c b/drivers/cpufreq/cpufreq_governor.c
index 541c323..0da7fc4 100644
--- a/drivers/cpufreq/cpufreq_governor.c
+++ b/drivers/cpufreq/cpufreq_governor.c
@@ -17,6 +17,7 @@
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <linux/export.h>
+#include <linux/irq_work.h>
 #include <linux/kernel_stat.h>
 #include <linux/slab.h>
 
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-04 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04  6:06 [PATCH] cpufreq: governor: fix compile warning Srinivas Pandruvada
2016-02-04 17:25 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).