From: Randy Dunlap <randy.dunlap@oracle.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: p.hardwick@option.com, akpm <akpm@linux-foundation.org>
Subject: [PATCH -mm] nozomi: fix section when HOTPLUG=n
Date: Tue, 26 Jun 2007 15:30:18 -0700 [thread overview]
Message-ID: <20070626153018.704ae646.randy.dunlap@oracle.com> (raw)
From: Randy Dunlap <randy.dunlap@oracle.com>
When CONFIG_HOTPLUG=n, this function needs to be present instead of
discarded.
WARNING: drivers/built-in.o(.text+0x2045f): Section mismatch: reference to .exit.text:tty_exit (between 'nozomi_card_exit' and 'card_type_show')
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/char/nozomi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.22-rc4-mm2.orig/drivers/char/nozomi.c
+++ linux-2.6.22-rc4-mm2/drivers/char/nozomi.c
@@ -1636,7 +1636,7 @@ exit:
up(&port->tty_sem);
}
-static void __devexit tty_exit(void)
+static void tty_exit(void)
{
struct nozomi *dc = my_dev;
int i, ret;
reply other threads:[~2007-06-26 22:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070626153018.704ae646.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=p.hardwick@option.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®