linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] Change pci_enable_sriov, pci_disable_sriov and pci_reset_function to non-GPL symbol.
@ 2017-11-15 19:10 Neo Jia
  2017-11-17 14:55 ` Christoph Hellwig
  0 siblings, 1 reply; 6+ messages in thread
From: Neo Jia @ 2017-11-15 19:10 UTC (permalink / raw)
  To: bhelgaas; +Cc: linux-pci, alex.williamson, Neo Jia, Kirti Wankhede

This will allow proprietary linux drivers to adopt SR-IOV spec from
PCI-SIG, also switch pci_reset_function to non-GPL symbol as it mainly
does pci config space access per spec.

Signed-off-by: Neo Jia <cjia@nvidia.com>
Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
---
 drivers/pci/iov.c | 4 ++--
 drivers/pci/pci.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c
index 6bacb8995e96..ecc6e7cddc57 100644
--- a/drivers/pci/iov.c
+++ b/drivers/pci/iov.c
@@ -673,7 +673,7 @@ int pci_enable_sriov(struct pci_dev *dev, int nr_virtfn)
 
 	return sriov_enable(dev, nr_virtfn);
 }
-EXPORT_SYMBOL_GPL(pci_enable_sriov);
+EXPORT_SYMBOL(pci_enable_sriov);
 
 /**
  * pci_disable_sriov - disable the SR-IOV capability
@@ -688,7 +688,7 @@ void pci_disable_sriov(struct pci_dev *dev)
 
 	sriov_disable(dev);
 }
-EXPORT_SYMBOL_GPL(pci_disable_sriov);
+EXPORT_SYMBOL(pci_disable_sriov);
 
 /**
  * pci_num_vf - return number of VFs associated with a PF device_release_driver
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 4a7c6864fdf4..e8318abedc73 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -4367,7 +4367,7 @@ int pci_reset_function(struct pci_dev *dev)
 
 	return rc;
 }
-EXPORT_SYMBOL_GPL(pci_reset_function);
+EXPORT_SYMBOL(pci_reset_function);
 
 /**
  * pci_reset_function_locked - quiesce and reset a PCI device function
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-25 15:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-15 19:10 [PATCH 1/1] Change pci_enable_sriov, pci_disable_sriov and pci_reset_function to non-GPL symbol Neo Jia
2017-11-17 14:55 ` Christoph Hellwig
2017-11-22 23:03   ` Neo Jia
2017-11-23 13:23     ` Christoph Hellwig
2017-11-25  7:37       ` Neo Jia
2017-11-25 15:33         ` David Woodhouse

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).