[PCMCIA] au1xxx: pcmcia: fix __init called from non-init

Ralf Baechle ralf at linux-mips.org
Fri Jun 23 07:06:56 EDT 2006

From:	Domen Puncer <domen.puncer at ultra.si>

This must not be marked __init, as it is called from 

Signed-off-by: Domen Puncer <domen.puncer at ultra.si>

Index: linux-mailed/drivers/pcmcia/au1000_db1x00.c
--- linux-mailed.orig/drivers/pcmcia/au1000_db1x00.c
+++ linux-mailed/drivers/pcmcia/au1000_db1x00.c
@@ -296,7 +296,7 @@ struct pcmcia_low_level db1x00_pcmcia_op
 	.socket_suspend		= db1x00_socket_suspend
-int __init au1x_board_init(struct device *dev)
+int au1x_board_init(struct device *dev)
 	int ret = -ENODEV;
 	bcsr->pcmcia = 0; /* turn off power, if it's not already off */

More information about the linux-pcmcia mailing list