[PATCH 13/15] au1xxx: pcmcia: fix __init called from non-init

Dominik Brodowski linux at dominikbrodowski.net
Fri Jun 30 16:01:46 EDT 2006


From: Domen Puncer <domen.puncer at ultra.si>
Date: Fri, 23 Jun 2006 12:06:56 +0100
Subject: [PATCH] au1xxx: pcmcia: fix __init called from non-init

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

Signed-off-by: Domen Puncer <domen.puncer at ultra.si>
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
---
 drivers/pcmcia/au1000_db1x00.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pcmcia/au1000_db1x00.c b/drivers/pcmcia/au1000_db1x00.c
index abc13f2..fef99f4 100644
--- a/drivers/pcmcia/au1000_db1x00.c
+++ b/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 */
-- 
1.4.0




More information about the linux-pcmcia mailing list