[PATCH] mdacon.c cleanup in 2.2.19

2000-12-17 Thread Pavel Rabel
Patch is removing few ifdefs. Both MODULE_PARM and __initfunc are removed by preprocessor if compiled as module. Pavel Rabel --- drivers/video/mdacon.c.old Sun Dec 17 18:53:18 2000 +++ drivers/video/mdacon.c Sun Dec 17 18:54:55 2000 @@ -75,14 +75,10 @@ static struct vc_data *mda_displ

Re: [PATCH] mdacon.c cleanup

2000-12-12 Thread Pavel Rabel
On Tue, 12 Dec 2000, David Woodhouse wrote: > [EMAIL PROTECTED] said: > > Both MODULE_PARM and __init are removed by precompiler when not > > compiler as module, so no need for ifdefs. 2.4.0-test12pre8 > > -#ifdef MODULE_PARM > MODULE_PARM(mda_first_vc, "1-255i"); > MODULE_PARM(mda_last_vc,

Re: [PATCH] mdacon.c cleanup

2000-12-12 Thread David Woodhouse
[EMAIL PROTECTED] said: > Both MODULE_PARM and __init are removed by precompiler when not > compiler as module, so no need for ifdefs. 2.4.0-test12pre8 -#ifdef MODULE_PARM MODULE_PARM(mda_first_vc, "1-255i"); MODULE_PARM(mda_last_vc, "1-255i"); -#endif That was #ifdef MODULE_PARM not #ifdef

[PATCH] mdacon.c cleanup

2000-12-10 Thread Pavel Rabel
Both MODULE_PARM and __init are removed by precompiler when not compiler as module, so no need for ifdefs. 2.4.0-test12pre8 Pavel Rabel --- mdacon.c.oldSun Dec 10 21:00:20 2000 +++ mdacon.cSun Dec 10 21:04:32 2000 @@ -77,10 +77,8 @@ static struct vc_data *mda_display_fg = NULL;