Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp910971ybl; Tue, 13 Aug 2019 04:39:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNP37QyG/+AVhgkLqBXPw0KQVzlhUS622VvuZnM/W9Tu91Yberdz22BZcfjENq6PoBNi7S X-Received: by 2002:a17:902:8207:: with SMTP id x7mr37556639pln.63.1565696386981; Tue, 13 Aug 2019 04:39:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565696386; cv=none; d=google.com; s=arc-20160816; b=vAbpgk2dYaX3nwdmj2KitZpZLJm++ax3LYQm2IAhn+Ic2qE2yqvC+vZI1IZQ4rbP2O zez8czEEBbB9nPkIsb1qbGqeBeDbR+9AJNnwSsUxyOKn1rav/+9v603A1XPJuRLJ/Vdy 2VLXqa+3c1vuzK2kgsHU46e9aU75JQVR7cH87eiONmotUgR6JGKeA5I6v6TVdda8OzUF gBbcoTSMtNl+K2SybT8Q14qLSX2PRhgwyKnudsAXmbz3SPYIXHjWRWFwZ/ZlWjyeAJk6 KoQk3pLImp1ku8jq+l++WSpURYRh5U3qMgnznm9Ww7txPX36LB8PQcEUeGKRuWy5JSRp MkCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=SRV1RhBsxoJIyxy5LU10VRZa3cAac+SrTlGq66juXkw=; b=bbQ06NJz1dE6/k8rWLhrhcq5bJf+paWqWQ7L3u8VeltT+H4zETxZ1g8onvTLteFijv ik0X+ry88EF6gBigSIv2ANzypRw0UfDfvJssWB9kXCYT9j4xAnsnU6WIYs/G3wP5skfo KoGhqwpD64EfQFsOSR1F3MkW4cYawnSuvKnh7gjiegW/e8Z0R6AypbmXZnIOthn0xGWw LNmq+uJRm4745KkEbM3X4RqXwuccXzlQSbXmK7KNprkIuWT79bpPhoxXw5tm4snb/cqQ l4C1hNUMX72XT8Kcice+ZZrz8ZjzXZP/t3I/l7ZgMPD2pbggmmIKAbIa/Ex0/9osCuI0 /b5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Gk5rP5aE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f188si1718968pfb.22.2019.08.13.04.39.31; Tue, 13 Aug 2019 04:39:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Gk5rP5aE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727806AbfHMLhW (ORCPT + 99 others); Tue, 13 Aug 2019 07:37:22 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:8817 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727342AbfHMLhW (ORCPT ); Tue, 13 Aug 2019 07:37:22 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 13 Aug 2019 04:37:24 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 13 Aug 2019 04:37:21 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 13 Aug 2019 04:37:21 -0700 Received: from HQMAIL110.nvidia.com (172.18.146.15) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 13 Aug 2019 11:37:21 +0000 Received: from HQMAIL109.nvidia.com (172.20.187.15) by hqmail110.nvidia.com (172.18.146.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 13 Aug 2019 11:37:21 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 13 Aug 2019 11:37:20 +0000 Received: from vidyas-desktop.nvidia.com (Not Verified[10.24.37.38]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 13 Aug 2019 04:37:20 -0700 From: Vidya Sagar To: , , , , , , , , , , CC: , , , , , , , , , , Subject: [PATCH V16 06/13] PCI: dwc: Export dw_pcie_wait_for_link() API Date: Tue, 13 Aug 2019 17:06:20 +0530 Message-ID: <20190813113627.27251-7-vidyas@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190813113627.27251-1-vidyas@nvidia.com> References: <20190813113627.27251-1-vidyas@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1565696244; bh=SRV1RhBsxoJIyxy5LU10VRZa3cAac+SrTlGq66juXkw=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=Gk5rP5aEtF8LbLcAeOtMiMMGILVElWPcbLvT++ba+04BvWwGJyxnPeyTv+NMvLmyj thJekfuugADJmXwmGX9Tvx4Dhy1BXqxfnBYZdLSu0GSthvdbWSdpDLyP1OOJehfGDf Hb4zbPKLVuiUS9RXyzEyNrZMMC0s+mEMKWENzdkojORSnAb6JKFL5MI/w9EGdlD+w/ cIYTAbhy+YwEMzzuJTTySRFkgrfXHML1zkYgKsOYWejwxK//hxysUvl3ZRFoMRQew2 A6DT8G4GF0MLZotC8NAR974bZzmKjqU1YDlbz3+ulRq3rM0yZKm6VzUBt+QqPeofXi Gca33UdkxbMvw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Export dw_pcie_wait_for_link() API to be able to build drivers using this API as loadable modules (Ex:- Tegra194 PCIe host controller driver). Signed-off-by: Vidya Sagar --- V16 * None V15: * None V14: * This is a new patch in V14 series. drivers/pci/controller/dwc/pcie-designware.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-designware.c b/drivers/pci/controller/dwc/pcie-designware.c index 181449e342f1..1d87e823de21 100644 --- a/drivers/pci/controller/dwc/pcie-designware.c +++ b/drivers/pci/controller/dwc/pcie-designware.c @@ -460,6 +460,7 @@ int dw_pcie_wait_for_link(struct dw_pcie *pci) return -ETIMEDOUT; } +EXPORT_SYMBOL_GPL(dw_pcie_wait_for_link); int dw_pcie_link_up(struct dw_pcie *pci) { -- 2.17.1