On Mon, Mar 11, 2013 at 3:17 AM, Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx> > Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> > Cc: linux-pci@xxxxxxxxxxxxxxx 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html