2006-10-03 16:39:08

by Jonathan McDowell

[permalink] [raw]
Subject: [PATCH] Export soc_common_drv_pcmcia_remove to allow modular PCMCIA.

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 <[email protected]>

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