提交 0973dddd 编写于 作者: D Domen Puncer 提交者: Dominik Brodowski

[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: NDomen Puncer <domen.puncer@ultra.si>
Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
上级 a2bcce8e
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册