section misannotation in ibmtr_cs
ibmtr_resume() is calling ibmtr_probe(), which is devinit. Whether that's the right thing to do there is a separate question, but since it's PCMCIA and thus will never compile without HOTPLUG... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
43ced651d1
Коммит
8814b5050d
|
@ -349,7 +349,7 @@ static int ibmtr_suspend(struct pcmcia_device *link)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ibmtr_resume(struct pcmcia_device *link)
|
static int __devinit ibmtr_resume(struct pcmcia_device *link)
|
||||||
{
|
{
|
||||||
ibmtr_dev_t *info = link->priv;
|
ibmtr_dev_t *info = link->priv;
|
||||||
struct net_device *dev = info->dev;
|
struct net_device *dev = info->dev;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче