summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/au1000_db1x00.c
diff options
context:
space:
mode:
authorDomen Puncer <domen.puncer@ultra.si>2006-06-23 12:06:56 +0100
committerDominik Brodowski <linux@dominikbrodowski.net>2006-06-30 22:09:13 +0200
commit0973ddddca72bc8aee8a273c232060b9608d1793 (patch)
tree3c8af748681e22ea453344e4229f4bd06ad16fec /drivers/pcmcia/au1000_db1x00.c
parenta2bcce8ede4fbda0c2a5f2132115715dff056b9c (diff)
downloadop-kernel-dev-0973ddddca72bc8aee8a273c232060b9608d1793.zip
op-kernel-dev-0973ddddca72bc8aee8a273c232060b9608d1793.tar.gz
[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@ultra.si> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/au1000_db1x00.c')
-rw-r--r--drivers/pcmcia/au1000_db1x00.c2
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_ops = {
.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 */
OpenPOWER on IntegriCloud