linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 5/5] ACPI / pcie: suppress compiler warning in portdrv_acpi.c
       [not found] <1362993428-14823-1-git-send-email-andriy.shevchenko@linux.intel.com>
@ 2013-03-11  9:17 ` Andy Shevchenko
  2013-04-12 20:54   ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2013-03-11  9:17 UTC (permalink / raw)
  To: linux-acpi, Rafael J . Wysocki; +Cc: Andy Shevchenko, Bjorn Helgaas, linux-pci

This patch fixes following compiler warning when build via make W=1:

drivers/pci/pcie/portdrv_acpi.c:34:5: warning: no previous prototype for ‘pcie_port_acpi_setup’ [-Wmissing-prototypes]

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-pci@vger.kernel.org
---
 drivers/pci/pcie/portdrv_acpi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/pcie/portdrv_acpi.c b/drivers/pci/pcie/portdrv_acpi.c
index a86b56e..b4d2894 100644
--- a/drivers/pci/pcie/portdrv_acpi.c
+++ b/drivers/pci/pcie/portdrv_acpi.c
@@ -17,6 +17,7 @@
 
 #include "aer/aerdrv.h"
 #include "../pci.h"
+#include "portdrv.h"
 
 /**
  * pcie_port_acpi_setup - Request the BIOS to release control of PCIe services.
-- 
1.8.2.rc0.22.gb3600c3


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

* Re: [PATCHv2 5/5] ACPI / pcie: suppress compiler warning in portdrv_acpi.c
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2013-04-12 20:54 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-acpi@vger.kernel.org, Rafael J . Wysocki,
	linux-pci@vger.kernel.org

On Mon, Mar 11, 2013 at 3:17 AM, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> This patch fixes following compiler warning when build via make W=1:
>
> drivers/pci/pcie/portdrv_acpi.c:34:5: warning: no previous prototype for ‘pcie_port_acpi_setup’ [-Wmissing-prototypes]
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Cc: Bjorn Helgaas <bhelgaas@google.com>
> Cc: linux-pci@vger.kernel.org

I applied this and several similar patches to my pci/cleanup branch
for v3.10.  Thanks!

http://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/log/?h=pci/cleanup

Bjorn

> ---
>  drivers/pci/pcie/portdrv_acpi.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/pcie/portdrv_acpi.c b/drivers/pci/pcie/portdrv_acpi.c
> index a86b56e..b4d2894 100644
> --- a/drivers/pci/pcie/portdrv_acpi.c
> +++ b/drivers/pci/pcie/portdrv_acpi.c
> @@ -17,6 +17,7 @@
>
>  #include "aer/aerdrv.h"
>  #include "../pci.h"
> +#include "portdrv.h"
>
>  /**
>   * pcie_port_acpi_setup - Request the BIOS to release control of PCIe services.
> --
> 1.8.2.rc0.22.gb3600c3
>

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

end of thread, other threads:[~2013-04-12 20:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1362993428-14823-1-git-send-email-andriy.shevchenko@linux.intel.com>
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

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).