lkml.org 
[lkml]   [2002]   [Mar]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromKeith Owens <>
SubjectRe: mdacon.c minor cleanups
DateSun, 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/

\
 
 \ /
  Last update: 2005-03-22 12:25    [from the cache]
©2003-2008