All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: "Yong, Jonathan" <jonathan.yong@intel.com>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
	bhelgaas@google.com
Subject: Re: [PATCH] PCI: Export pci_enable_ptm
Date: Thu, 25 Aug 2016 08:33:21 -0500	[thread overview]
Message-ID: <20160825133321.GB9554@localhost> (raw)
In-Reply-To: <1472096495-42916-2-git-send-email-jonathan.yong@intel.com>

On Thu, Aug 25, 2016 at 03:41:35AM +0000, Yong, Jonathan wrote:
> 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);

I just folded this into the original patch on the pci/ptm branch, since it
hasn't been merged anywhere.  Thanks!

      reply	other threads:[~2016-08-25 13:33 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 ` [PATCH] PCI: Export pci_enable_ptm Yong, Jonathan
2016-08-25 13:33   ` Bjorn Helgaas [this message]

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=20160825133321.GB9554@localhost \
    --to=helgaas@kernel.org \
    --cc=bhelgaas@google.com \
    --cc=jonathan.yong@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.