From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Eric Biggers <ebiggers@google.com>
Cc: lv.zheng@intel.com, lenb@kernel.org, linux-acpi@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ACPI / EC: Fix unused function warning when CONFIG_PM_SLEEP=n
Date: Tue, 11 Oct 2016 23:54:32 +0200 [thread overview]
Message-ID: <15070756.yRzbHa5m24@vostro.rjw.lan> (raw)
In-Reply-To: <1475688796-17936-1-git-send-email-ebiggers@google.com>
On Wednesday, October 05, 2016 10:33:16 AM Eric Biggers wrote:
> Signed-off-by: Eric Biggers <ebiggers@google.com>
> ---
> drivers/acpi/ec.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
> index 6805310..48e19d0 100644
> --- a/drivers/acpi/ec.c
> +++ b/drivers/acpi/ec.c
> @@ -526,6 +526,7 @@ static void acpi_ec_enable_event(struct acpi_ec *ec)
> acpi_ec_clear(ec);
> }
>
> +#ifdef CONFIG_PM_SLEEP
> static bool acpi_ec_query_flushed(struct acpi_ec *ec)
> {
> bool flushed;
> @@ -557,6 +558,7 @@ static void acpi_ec_disable_event(struct acpi_ec *ec)
> spin_unlock_irqrestore(&ec->lock, flags);
> __acpi_ec_flush_event(ec);
> }
> +#endif /* CONFIG_PM_SLEEP */
>
> static bool acpi_ec_guard_event(struct acpi_ec *ec)
> {
>
Applied.
Thanks,
Rafael
prev parent reply other threads:[~2016-10-11 21:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-05 17:33 Eric Biggers
2016-10-11 21:54 ` 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=15070756.yRzbHa5m24@vostro.rjw.lan \
--to=rjw@rjwysocki.net \
--cc=ebiggers@google.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lv.zheng@intel.com \
/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
all inboxes | Powered by JetHome®