[PATCH] powerpc export rtas_set_slot_reset()

Linas Vepstas linas at austin.ibm.com
Wed Dec 20 06:02:10 EST 2006


Hi Paul,
A patch that provides an export for a bug being worked on the
IPR evice driver.

--linas

Export the symbol for the PCI slot reset function; this
will allow it to be called from a module. 

Signed-off-by: Linas Vepstas <linas at austin.ibm.com>

----
 arch/powerpc/platforms/pseries/eeh.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6.19-git7/arch/powerpc/platforms/pseries/eeh.c
===================================================================
--- linux-2.6.19-git7.orig/arch/powerpc/platforms/pseries/eeh.c	2006-12-14 14:41:48.000000000 -0600
+++ linux-2.6.19-git7/arch/powerpc/platforms/pseries/eeh.c	2006-12-15 12:01:28.000000000 -0600
@@ -626,6 +626,7 @@ int rtas_set_slot_reset(struct pci_dn *p
 
 	return rc;
 }
+EXPORT_SYMBOL_GPL(rtas_set_slot_reset);
 
 /* ------------------------------------------------------- */
 /** Save and restore of PCI BARs



More information about the Linuxppc-dev mailing list