linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Marcelo Tosatti <marcelo@conectiva.com.br>,
	Denis Oliver Kropp <dok@convergence.de>
Cc: linux-kernel@vger.kernel.org
Subject: [patch] fix .text.exit error in neofb.c
Date: Tue, 25 Jun 2002 14:30:51 +0200 (CEST)	[thread overview]
Message-ID: <Pine.NEB.4.44.0206251426180.14220-100000@mimas.fachschaften.tu-muenchen.de> (raw)


The following error occured at the final linking of 2.4.19-rc:

<--  snip  -->

...
drivers/video/video.o(.data+0x46b4): more undefined references to
`local symbols in discarded section .text.exit' follow
...

<--  snip  -->

The following patch fixes it (neofb_remove is __devexit but the pointer to
it didn't use __devexit_p):


--- drivers/video/neofb.c.old	Tue Jun 25 12:53:45 2002
+++ drivers/video/neofb.c	Tue Jun 25 12:54:28 2002
@@ -2330,7 +2330,7 @@
   name:      "neofb",
   id_table:  neofb_devices,
   probe:     neofb_probe,
-  remove:    neofb_remove
+  remove:    __devexit_p(neofb_remove)
 };

 /* **************************** init-time only **************************** */

cu
Adrian

-- 

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
								Alan Cox



                 reply	other threads:[~2002-06-25 12:30 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=Pine.NEB.4.44.0206251426180.14220-100000@mimas.fachschaften.tu-muenchen.de \
    --to=bunk@fs.tum.de \
    --cc=dok@convergence.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /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;
as well as URLs for NNTP newsgroup(s).