Re: mdacon.c minor cleanups

Keith Owens (kaos@ocs.com.au)
Sun, 24 Mar 2002 16:38:16 +1100


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/