Skip to contentSkip to conversation

section misannotation in ibmtr_cs

PATCH Applied Al Viro 1 participant 1 message Nov 22, 2008 Network drivers

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 15/32 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...

---
 drivers/net/pcmcia/ibmtr_cs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/pcmcia/ibmtr_cs.c +1 -1
@@ -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;