lkml.org 
[lkml]   [2002]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.5 patch] fix .text.exit error in tdfxfb.c
Hi James,

Burton Samograd reported a .text.exit error at the final linking in
2.5.37. The problem is that tdfxfb_remove is __devexit but the pointer to
the function didn't use __devexit_p. The following patch fixes it:


--- linux-2.5.37/drivers/video/tdfxfb.c.old 2002-09-21 22:06:55.000000000 +0200
+++ linux-2.5.37/drivers/video/tdfxfb.c 2002-09-21 22:07:47.000000000 +0200
@@ -146,7 +146,7 @@
.name = "tdfxfb",
.id_table = tdfxfb_id_table,
.probe = tdfxfb_probe,
- .remove = tdfxfb_remove,
+ .remove = __devexit_p(tdfxfb_remove),
};

MODULE_DEVICE_TABLE(pci, tdfxfb_id_table);

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:29    [W:1.436 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site