public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: linux-acpi@vger.kernel.org, Bjorn Helgaas <bhelgaas@google.com>
Subject: Re: [PATCHv2 1/5] ACPI: suppress compiler warnings in button.c
Date: Tue, 26 Mar 2013 14:26:32 +0100	[thread overview]
Message-ID: <30325044.ggCSRcSXmt@vostro.rjw.lan> (raw)
In-Reply-To: <1362993428-14823-1-git-send-email-andriy.shevchenko@linux.intel.com>

On Monday, March 11, 2013 11:17:04 AM Andy Shevchenko wrote:
> This patch fixes following compiler warnings when build via make W=1:
> 
> drivers/acpi/button.c:220:5: warning: no previous prototype for ‘acpi_lid_notifier_register’ [-Wmissing-prototypes]
> drivers/acpi/button.c:226:5: warning: no previous prototype for ‘acpi_lid_notifier_unregister’ [-Wmissing-prototypes]
> drivers/acpi/button.c:232:5: warning: no previous prototype for ‘acpi_lid_open’ [-Wmissing-prototypes]
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Patches [1-4/5] applied to linux-pm.git/linux-next.  I'm leaving patch [5/5]
to Bjorn.

Thanks,
Rafael


> ---
>  drivers/acpi/button.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c
> index 86c7d54..92a659a 100644
> --- a/drivers/acpi/button.c
> +++ b/drivers/acpi/button.c
> @@ -33,6 +33,7 @@
>  #include <linux/slab.h>
>  #include <acpi/acpi_bus.h>
>  #include <acpi/acpi_drivers.h>
> +#include <acpi/button.h>
>  
>  #define PREFIX "ACPI: "
>  
> 
-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2013-03-26 13:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11  9:17 [PATCHv2 1/5] ACPI: suppress compiler warnings in button.c Andy Shevchenko
2013-03-11  9:17 ` [PATCHv2 2/5] ACPI: suppress compiler warnings in processor_throttling.c Andy Shevchenko
2013-03-11  9:17 ` [PATCHv2 3/5] ACPI: suppress compiler warning in battery.c Andy Shevchenko
2013-03-11  9:17 ` [PATCHv2 4/5] ACPI: suppress compiler warning in container.c Andy Shevchenko
2013-03-11  9:17 ` [PATCHv2 5/5] ACPI / pcie: suppress compiler warning in portdrv_acpi.c Andy Shevchenko
2013-04-12 20:54   ` Bjorn Helgaas
2013-03-26 13:26 ` 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=30325044.ggCSRcSXmt@vostro.rjw.lan \
    --to=rjw@sisk.pl \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=bhelgaas@google.com \
    --cc=linux-acpi@vger.kernel.org \
    /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