Re: mdacon.c minor cleanups

From: Keith Owens (kaos@ocs.com.au)
Date: Sun Mar 24 2002 - 00:38:16 EST


On Sat, 23 Mar 2002 16:42:20 +0100,
Boris Bezlaj <boris@kista.gajba.net> wrote:
>+#ifdef MODULE
>+MODULE_LICENSE("GPL");
>+MODULE_DESCRIPTION("MDA console driver. Default console allocation: vc/13 - vc/16");
>+module_init(mda_console_init);
>+module_exit(mda_console_exit);
> #endif

Do not wrap #ifdef MODULE around those lines. All the module_* macros
behave correctly when the code is built in, module_init even changes
its behaviour for built in code.

-
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 : Sun Mar 31 2002 - 22:00:07 EST