mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
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:
parent
43ced651d1
commit
8814b5050d
@ -349,7 +349,7 @@ static int ibmtr_suspend(struct pcmcia_device *link)
|
||||
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;
|
||||
struct net_device *dev = info->dev;
|
||||
|
Loading…
Reference in New Issue
Block a user