lkml.org 
[lkml]   [2002]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] fix .text.exit error in neofb.c

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


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.028 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site