From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Ben Dooks <ben.dooks@codethink.co.uk>
Cc: linux-kernel@vger.kernel.org, linux-kernel@lists.codethink.co.uk,
linux-pm@vger.kernel.org, Len Brown <len.brown@intel.com>,
Pavel Machek <pavel@ucw.cz>
Subject: Re: [PATCH] PM: sleep: include <linux/pm_runtime.h> for pm_wq
Date: Fri, 11 Oct 2019 00:02:48 +0200 [thread overview]
Message-ID: <4465950.ddMAbEBQAA@kreacher> (raw)
In-Reply-To: <20191008104646.11658-1-ben.dooks@codethink.co.uk>
On Tuesday, October 8, 2019 12:46:46 PM CEST Ben Dooks wrote:
> Include the <linux/runtime_pm.h> for the definition of
> pm_wq to avoid the following warning:
>
> kernel/power/main.c:890:25: warning: symbol 'pm_wq' was not declared. Should it be static?
>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> ---
> kernel/power/main.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/power/main.c b/kernel/power/main.c
> index e8710d179b35..e26de7af520b 100644
> --- a/kernel/power/main.c
> +++ b/kernel/power/main.c
> @@ -15,6 +15,7 @@
> #include <linux/seq_file.h>
> #include <linux/suspend.h>
> #include <linux/syscalls.h>
> +#include <linux/pm_runtime.h>
>
> #include "power.h"
>
>
Applying as a fix for 5.4, thanks!
prev parent reply other threads:[~2019-10-10 22:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-08 10:46 [PATCH] PM: sleep: include <linux/pm_runtime.h> for pm_wq Ben Dooks
2019-10-10 22:02 ` Rafael J. Wysocki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4465950.ddMAbEBQAA@kreacher \
--to=rjw@rjwysocki.net \
--cc=ben.dooks@codethink.co.uk \
--cc=len.brown@intel.com \
--cc=linux-kernel@lists.codethink.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).