Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759595AbYKVRiV (ORCPT ); Sat, 22 Nov 2008 12:38:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759429AbYKVRfq (ORCPT ); Sat, 22 Nov 2008 12:35:46 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:58461 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759424AbYKVRfp (ORCPT ); Sat, 22 Nov 2008 12:35:45 -0500 To: torvalds@linux-foundation.org Subject: [PATCH 15/32] section misannotation in ibmtr_cs Cc: linux-kernel@vger.kernel.org, jgarzik@pobox.com Message-Id: From: Al Viro Date: Sat, 22 Nov 2008 17:35:44 +0000 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1016 Lines: 27 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 --- 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; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/