[PATCH] uvesafb: change mode parameter to mode_option
From: Krzysztof Helt <hidden>
Date: 2008-05-23 05:50:10
From: Krzysztof Helt <redacted> Try making more drivers using the "mode_option" parameter. This one is quite new so drop the old "mode" parameter before someone will start using it seriously. Signed-off-by: Krzysztof Helt <redacted> diff -urp linux-2.6.25/drivers/video/uvesafb.c linux-new/drivers/video/uvesafb.c
--- linux-2.6.25/drivers/video/uvesafb.c 2008-05-17 07:54:43.396205454 +0200
+++ linux-new/drivers/video/uvesafb.c 2008-05-23 07:33:41.281991131 +0200@@ -2054,8 +2054,8 @@ MODULE_PARM_DESC(maxhf, module_param(maxvf, ushort, 0); MODULE_PARM_DESC(maxvf, "Maximum vertical frequency [Hz], overrides EDID data"); -module_param_named(mode, mode_option, charp, 0); -MODULE_PARM_DESC(mode, +module_param(mode_option, charp, 0); +MODULE_PARM_DESC(mode_option, "Specify initial video mode as \"<xres>x<yres>[-<bpp>][@<refresh>]\""); module_param(vbemode, ushort, 0); MODULE_PARM_DESC(vbemode, ----------------------------------------------------------------------
Wez udzial w konkursie i wygraj odlotowe nagrody! Sprawdz sie >> http://link.interia.pl/f1e04 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/