From patchwork Mon Mar 11 09:17:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 2247531 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id B71774020C for ; Mon, 11 Mar 2013 09:17:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753273Ab3CKJR3 (ORCPT ); Mon, 11 Mar 2013 05:17:29 -0400 Received: from mga02.intel.com ([134.134.136.20]:56515 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753279Ab3CKJR3 (ORCPT ); Mon, 11 Mar 2013 05:17:29 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 11 Mar 2013 02:17:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,822,1355126400"; d="scan'208";a="276223201" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.173]) by orsmga001.jf.intel.com with ESMTP; 11 Mar 2013 02:17:26 -0700 Received: from andy by smile with local (Exim 4.80) (envelope-from ) id 1UEyr1-0003si-RG; Mon, 11 Mar 2013 11:17:11 +0200 From: Andy Shevchenko To: linux-acpi@vger.kernel.org, "Rafael J . Wysocki" Cc: Andy Shevchenko , Bjorn Helgaas , linux-pci@vger.kernel.org Subject: [PATCHv2 5/5] ACPI / pcie: suppress compiler warning in portdrv_acpi.c Date: Mon, 11 Mar 2013 11:17:08 +0200 Message-Id: <1362993428-14823-5-git-send-email-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 1.8.2.rc0.22.gb3600c3 In-Reply-To: <1362993428-14823-1-git-send-email-andriy.shevchenko@linux.intel.com> References: <1362993428-14823-1-git-send-email-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org 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 Cc: Bjorn Helgaas 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.