linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Yong, Jonathan" <jonathan.yong@intel.com>
To: linux-pci@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, bhelgaas@google.com,
	jonathan.yong@intel.com
Subject: [PATCH] PCI: Export pci_enable_ptm
Date: Thu, 25 Aug 2016 03:41:35 +0000	[thread overview]
Message-ID: <1472096495-42916-2-git-send-email-jonathan.yong@intel.com> (raw)
In-Reply-To: <1472096495-42916-1-git-send-email-jonathan.yong@intel.com>

Export symbol so device drivers outside of the core pci subsystem
can use it.

Signed-off-by: Yong, Jonathan <jonathan.yong@intel.com>
---
 drivers/pci/pcie/ptm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/pcie/ptm.c b/drivers/pci/pcie/ptm.c
index 3b83024..bab8ac6 100644
--- a/drivers/pci/pcie/ptm.c
+++ b/drivers/pci/pcie/ptm.c
@@ -139,3 +139,4 @@ int pci_enable_ptm(struct pci_dev *dev, u8 *granularity)
 		*granularity = dev->ptm_granularity;
 	return 0;
 }
+EXPORT_SYMBOL(pci_enable_ptm);
-- 
2.7.3

  reply	other threads:[~2016-08-25  5:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25  3:41 [PATCH] Allow pci_enable_ptm to be called outside of the pci subsystem Yong, Jonathan
2016-08-25  3:41 ` Yong, Jonathan [this message]
2016-08-25 13:33   ` [PATCH] PCI: Export pci_enable_ptm Bjorn Helgaas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1472096495-42916-2-git-send-email-jonathan.yong@intel.com \
    --to=jonathan.yong@intel.com \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).