ARM: PXA: fix lubbock PCMCIA driver build error
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 27 Oct 2011 10:33:15 +0000 (11:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 5 Nov 2011 19:09:40 +0000 (19:09 +0000)
Fix:

ERROR: "pxa2xx_configure_sockets" [drivers/pcmcia/pxa2xx_lubbock_cs.ko] undefined!

by exporting the required function.

Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/pcmcia/pxa2xx_base.c

index 2c540542b5af7fb183a57f8ea66b230649c16c2e..a87e2728b2c3a19cd50df8b6ae19de643296cceb 100644 (file)
@@ -231,6 +231,7 @@ void pxa2xx_configure_sockets(struct device *dev)
 
        __raw_writel(mecr, MECR);
 }
+EXPORT_SYMBOL(pxa2xx_configure_sockets);
 
 static const char *skt_names[] = {
        "PCMCIA socket 0",