mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -mm] nozomi: fix section when HOTPLUG=n
@ 2007-06-26 22:30 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2007-06-26 22:30 UTC (permalink / raw)
  To: lkml; +Cc: p.hardwick, akpm

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;

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

only message in thread, other threads:[~2007-06-26 22:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-26 22:30 [PATCH -mm] nozomi: fix section when HOTPLUG=n Randy Dunlap

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®