Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1522870pxb; Thu, 16 Sep 2021 09:11:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzU36GI+ftDNsRH3odwPOfGFcN2pPXgztnLt18o8QJY5yEZltucArvECFJeHhaPQtMEFT/S X-Received: by 2002:a5d:58ec:: with SMTP id f12mr7186213wrd.24.1631808669477; Thu, 16 Sep 2021 09:11:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631808669; cv=none; d=google.com; s=arc-20160816; b=Q4MCoZxG3sP3r0Yp/I2P3ozyuI4ugwtixlTwvYi50GNfKho3aw6eUzgy2G/9dMbIg1 J0PGZkFwefTKm8+ykaznseNfat+1awBq5acRDV6w8+Q3w8PCTx7WBA9h8cCMvV/icun8 CZwX8RD9oB+Z9kxm7OJFEmvRvTGYKGpsaq9AI7e43t5FCwnK9zeryMaxpJoNmZsdl/nN xyOelgD+VCXshwPPkzLbUoIEEBPYTtl7rU/cRAhh4cvEK+//Hjxz5UxlV2to+waLjzas /kvP89T6hbL86XXvyXMhytwBazVjU/QNq2EmYRRXEmIAo9ZJB52EuE7fr+xLMuNqg/xN QGyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=0C3aD8osbOII8vIj9n5Nswt8NFZfjeeQjPwJOLHvhu4=; b=hhWd0z3KCCtzZh3zSMAx3GyNfpk1/Nn4r9kPj/vzYQFI1+UnEdXSW2MRodEZlYvjnO I0n5z2FtplZkztPllYlbsbNlZLWVbs2G1X/t6uLIXVAoJi45oyndDQ5Dg+jyLZtin3vt dgrxt0vMRgEMNtAhN0V2lAnoBXhjL23hCXqJZSnjn0IxjgTYa939VcYP+rqfGVahwuVa lWTAg4mKCX94zEMyPn7wJPtan48X2baWLCx5EI7Vpdkzk3bEvjt6jVmdbhUgCC+h1JLJ lbB9fHYGBZPIT/PB2+zx8Y3ahXS13Y90EfHHKeOmieAbb4vSel5HaMTBi95R6uMebFNw BY2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SXPzehe+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f3si3829594edr.23.2021.09.16.09.10.44; Thu, 16 Sep 2021 09:11:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SXPzehe+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236206AbhIPQJ4 (ORCPT + 99 others); Thu, 16 Sep 2021 12:09:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:46486 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232048AbhIPQGy (ORCPT ); Thu, 16 Sep 2021 12:06:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E398B61241; Thu, 16 Sep 2021 16:05:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631808333; bh=n3O600CWMTqKdQtCf31lofjSYy+DdA8rmYBZUQfBTrE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SXPzehe+EESkTkK+yHID0A6Xg8sFAspg3jqTEw6J7af7wOa4wau+6Y1bVCpSi2vvJ DHBgAT1yD3wEBL6Ygp/1c87CfD0J8zMl0elcZHM+FsmHgF9JmmA35sCuPrlEl/dqxs xBTpytgff5IHS4xBNzj08s8R1i4vZaTpPZE/5acM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jianjun Wang , Lorenzo Pieralisi , Bjorn Helgaas Subject: [PATCH 5.10 051/306] PCI: Export pci_pio_to_address() for module use Date: Thu, 16 Sep 2021 17:56:36 +0200 Message-Id: <20210916155755.684590141@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155753.903069397@linuxfoundation.org> References: <20210916155753.903069397@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jianjun Wang commit 9cc742078c9a90cdd4cf131e9f760e6965df9048 upstream. This interface will be used by PCI host drivers for PIO translation, export it to support compiling those drivers as kernel modules. Link: https://lore.kernel.org/r/20210420061723.989-3-jianjun.wang@mediatek.com Signed-off-by: Jianjun Wang Signed-off-by: Lorenzo Pieralisi Acked-by: Bjorn Helgaas Signed-off-by: Greg Kroah-Hartman --- drivers/pci/pci.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -4043,6 +4043,7 @@ phys_addr_t pci_pio_to_address(unsigned return address; } +EXPORT_SYMBOL_GPL(pci_pio_to_address); unsigned long __weak pci_address_to_pio(phys_addr_t address) {