All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 15/32] section misannotation in ibmtr_cs
@ 2008-11-22 17:35 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2008-11-22 17:35 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, jgarzik


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

diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/pcmcia/ibmtr_cs.c
--- a/drivers/net/pcmcia/ibmtr_cs.c
+++ b/drivers/net/pcmcia/ibmtr_cs.c
@@ -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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-22 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-22 17:35 [PATCH 15/32] section misannotation in ibmtr_cs Al Viro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.