diff mbox

2.6.35: pci/access.c - export pci_user_{read, write}_config*

Message ID 4c6b18d0.6fRYerxE4s0D+ulh%pugs@cisco.com (mailing list archive)
State Rejected, archived
Headers show

Commit Message

Tom Lyon Aug. 17, 2010, 11:18 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/pci/access.c b/drivers/pci/access.c
index 531bc69..96ed449 100644
--- a/drivers/pci/access.c
+++ b/drivers/pci/access.c
@@ -157,7 +157,8 @@  int pci_user_read_config_##size						\
 	raw_spin_unlock_irq(&pci_lock);				\
 	*val = (type)data;						\
 	return ret;							\
-}
+}									\
+EXPORT_SYMBOL_GPL(pci_user_read_config_##size);
 
 #define PCI_USER_WRITE_CONFIG(size,type)				\
 int pci_user_write_config_##size					\
@@ -171,7 +172,8 @@  int pci_user_write_config_##size					\
 					pos, sizeof(type), val);	\
 	raw_spin_unlock_irq(&pci_lock);				\
 	return ret;							\
-}
+}									\
+EXPORT_SYMBOL_GPL(pci_user_write_config_##size);
 
 PCI_USER_READ_CONFIG(byte, u8)
 PCI_USER_READ_CONFIG(word, u16)