RFC: [2.6 patch] Eicon: disable debuglib for modules

From: Adrian Bunk
Date: Sat Oct 30 2004 - 02:25:24 EST


Is there a good reason why debuglib is enabled for modules?

If not, I'd propose the patch below to disable it.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc1-mm2-full/drivers/isdn/hardware/eicon/platform.h.old 2004-10-30 08:39:51.000000000 +0200
+++ linux-2.6.10-rc1-mm2-full/drivers/isdn/hardware/eicon/platform.h 2004-10-30 08:40:28.000000000 +0200
@@ -35,10 +35,8 @@

#include "cardtype.h"

-/* activate debuglib for modules only */
-#ifndef MODULE
+/* disable debuglib */
#define DIVA_NO_DEBUGLIB
-#endif

#define DIVA_INIT_FUNCTION __init
#define DIVA_EXIT_FUNCTION __exit

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/