[PATCH] Export soc_common_drv_pcmcia_remove to allow modular PCMCIA.

From: Jonathan McDowell
Date: Tue Oct 03 2006 - 12:39:28 EST


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

-----
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/