mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[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>
This commit is contained in:
parent
a2bcce8ede
commit
0973ddddca
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue