From patchwork Tue May 15 19:05:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 159416 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 6329AB6FAA for ; Wed, 16 May 2012 05:05:31 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SUN3p-00068G-DY for incoming@patchwork.ozlabs.org; Tue, 15 May 2012 19:05:29 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SUN3n-000682-36 for fwts-devel@lists.ubuntu.com; Tue, 15 May 2012 19:05:27 +0000 Received: from cpc19-craw6-2-0-cust5.croy.cable.virginmedia.com ([77.102.228.6] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SUN3m-0007VA-W6 for fwts-devel@lists.ubuntu.com; Tue, 15 May 2012 19:05:27 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH] pci: aspm: make functions static Date: Tue, 15 May 2012 20:05:26 +0100 Message-Id: <1337108726-4713-1-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.9.5 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Signed-off-by: Colin Ian King Acked-by: Alex Hung Acked-by: Keng-Yu Lin Acked-by: Ivan Hu --- src/pci/aspm/aspm.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pci/aspm/aspm.c b/src/pci/aspm/aspm.c index fe6cb60..e85be9a 100644 --- a/src/pci/aspm/aspm.c +++ b/src/pci/aspm/aspm.c @@ -114,9 +114,9 @@ static int facp_get_aspm_control(fwts_framework *fw, int *aspm) return FWTS_OK; } -int pcie_compare_rp_dev_aspm_registers(fwts_framework *fw, - struct pci_device *rp, - struct pci_device *dev) +static int pcie_compare_rp_dev_aspm_registers(fwts_framework *fw, + struct pci_device *rp, + struct pci_device *dev) { struct pcie_capability *rp_cap, *device_cap; uint8_t rp_aspm_cntrl, device_aspm_cntrl; @@ -199,8 +199,8 @@ static void pci_device_list_free(struct pci_device *head) } } -int pcie_check_aspm_registers(fwts_framework *fw, - const fwts_log_level level) +static int pcie_check_aspm_registers(fwts_framework *fw, + const fwts_log_level level) { fwts_list *lspci_output; fwts_list_link *item;