[PATCH] meye camera driver EXPORT_NO_SYMBOLS

From: Stelian Pop (stelian.pop@fr.alcove.com)
Date: Mon Oct 15 2001 - 11:05:37 EST


On Thu, Oct 11, 2001 at 09:45:58PM +1000, Keith Owens wrote:

> Starting with modutils 2.5, modules must explicitly say what their
> intention is for symbols. That will break a lot of existing modules.

Here is the patch for drivers/media/video/meye.c

Stelian.

diff -uNr --exclude-from=dontdiff linux-2.4.12-ac2.orig/drivers/media/video/meye.c linux-2.4.12-ac2/drivers/media/video/meye.c
--- linux-2.4.12-ac2.orig/drivers/media/video/meye.c Sun Sep 30 21:26:06 2001
+++ linux-2.4.12-ac2/drivers/media/video/meye.c Mon Oct 15 18:01:17 2001
@@ -1482,6 +1482,7 @@
 MODULE_DESCRIPTION("video4linux driver for the MotionEye camera");
 MODULE_LICENSE("GPL");
 
+EXPORT_NO_SYMBOLS;
 
 MODULE_PARM(gbuffers,"i");
 MODULE_PARM_DESC(gbuffers,"number of capture buffers, default is 2 (32 max)");

-- 
Stelian Pop <stelian.pop@fr.alcove.com>
|---------------- Free Software Engineer -----------------|
| Alc˘ve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|------------- Alc˘ve, liberating software ---------------|
-
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/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:58 EST