From patchwork Sat Sep 28 10:12:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2957451 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 00ACF9F288 for ; Sat, 28 Sep 2013 10:12:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 94568202C7 for ; Sat, 28 Sep 2013 10:12:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C63BA2030B for ; Sat, 28 Sep 2013 10:12:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753532Ab3I1KMS (ORCPT ); Sat, 28 Sep 2013 06:12:18 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:44924 "EHLO mail-pb0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753221Ab3I1KMN (ORCPT ); Sat, 28 Sep 2013 06:12:13 -0400 Received: by mail-pb0-f45.google.com with SMTP id mc17so3565868pbc.4 for ; Sat, 28 Sep 2013 03:12:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zr9uxD+Us9oJcSVsWYACvY4t4gTyFDeaPO5LmhkQQSI=; b=TkuzcCmrYnOiym8S89qs8lTmvYfWySsjRVlzL5WSAc/SZ/HJbvPCj6GjkwBFXqKLTU wcc8HOPvTSQ5hJ9UAIEIEWDLVik+G+7Sdry5dpuUuCrAkGVDD8q/ujAzrCKmKMlX82Km bRoDYatdzKLdDEOxeDQLgGXG5Ix3jG/p4gQjo1U9koqBzsu3H5p5l68t11Vfzx4suo91 D8lOoDDEQ3CekMIxNO8ZfQofygsXQJHoYks3Pye6tEkXeEwSZEcSB69RUlx5KYIUtu2X wQ9qcFfl5DboWeA92VOukXapGaw8ZyjTAk3mXwldXqMyCKOljII79c9yZzFcWH/VOaKJ iCkw== X-Gm-Message-State: ALoCoQk5NM2JUs2qM3Wt6WodJPme1c5ew6UEqAd5b7b4f8KydeW34eThNw7ipfqNTgR7kkf537nY X-Received: by 10.68.137.161 with SMTP id qj1mr12483515pbb.50.1380363132621; Sat, 28 Sep 2013 03:12:12 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id oh2sm14149812pbb.3.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 03:12:12 -0700 (PDT) From: Sachin Kamat To: linux-pci@vger.kernel.org Cc: bhelgaas@google.com, sachin.kamat@linaro.org Subject: [PATCH 2/2] PCI: driver: Staticize pci_dev_pm_ops Date: Sat, 28 Sep 2013 15:42:01 +0530 Message-Id: <1380363121-1977-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380363121-1977-1-git-send-email-sachin.kamat@linaro.org> References: <1380363121-1977-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 'pci_dev_pm_ops' is local to this file. Make it static. Signed-off-by: Sachin Kamat --- drivers/pci/pci-driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index 38f3c01..653c8c5 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c @@ -1124,7 +1124,7 @@ static int pci_pm_runtime_idle(struct device *dev) #ifdef CONFIG_PM -const struct dev_pm_ops pci_dev_pm_ops = { +static const struct dev_pm_ops pci_dev_pm_ops = { .prepare = pci_pm_prepare, .complete = pci_pm_complete, .suspend = pci_pm_suspend,