[PATCH] Export soc_common_drv_pcmcia_remove to allow modular PCMCIA.

Jonathan McDowell noodles at earth.li
Tue Oct 3 12:39:02 EDT 2006


The patch below allows me to build and modprobe a modular sa1100_cs.
Searching around finds others who've had the same problem. Exporting
soc_common_drv_pcmcia_remove solves the problem for me allowing a
modular PCMCIA build.

Signed-Off-By: Jonathan McDowell <noodles at earth.li>

-----
Index: linux-2.6.18/drivers/pcmcia/soc_common.c
===================================================================
--- linux-2.6.18.orig/drivers/pcmcia/soc_common.c	2006-10-03 11:32:17.000000000 +0100
+++ linux-2.6.18/drivers/pcmcia/soc_common.c	2006-10-03 11:32:24.000000000 +0100
@@ -824,3 +824,4 @@
 
 	return 0;
 }
+EXPORT_SYMBOL(soc_common_drv_pcmcia_remove);
-----

J.

-- 
Purple alert! Purple alert! - Holly



More information about the linux-pcmcia mailing list