PCMCIA: soc_common: provide single socket add/remove functionality
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Thu, 26 Mar 2009 21:45:05 +0000 (21:45 +0000)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 9 Nov 2009 07:30:09 +0000 (08:30 +0100)
commit097e296d6175881eba7244de7222de61e9569911
tree7202f0cc53dd48fd9e2ec14cd5751311d1f5d2d3
parent0f767de6a26a07f7d58394512b6f6c96322f047f
PCMCIA: soc_common: provide single socket add/remove functionality

Factor out the functionality for adding and removing a single
socket, thereby allowing SoCs to individually register each
socket.  The advantage of this approach is that SoCs can then
extend soc_pcmcia_socket as they wish.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/soc_common.c
drivers/pcmcia/soc_common.h