summaryrefslogtreecommitdiffstats
path: root/drivers/video/vt8623fb.c
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2008-04-28 11:15:10 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 17:58:37 +0200
commit9e3f0ca812ab8fa3f4e65ade41bf6fb936f14e15 (patch)
treef194121583620296426f4acb79073b0dc5acea56 /drivers/video/vt8623fb.c
parents3fb: add option mode_option (diff)
downloadlinux-9e3f0ca812ab8fa3f4e65ade41bf6fb936f14e15.tar.xz
linux-9e3f0ca812ab8fa3f4e65ade41bf6fb936f14e15.zip
fbdev: add removed option "mode" to keep compatibility
Add removed option "mode" to keep compatibility with existing setups. The option is back for pm2fb, tridentfb and vt8623fb drivers. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/vt8623fb.c')
-rw-r--r--drivers/video/vt8623fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/vt8623fb.c b/drivers/video/vt8623fb.c
index 66305b604ba8..f6895ef6bf59 100644
--- a/drivers/video/vt8623fb.c
+++ b/drivers/video/vt8623fb.c
@@ -112,6 +112,8 @@ MODULE_DESCRIPTION("fbdev driver for integrated graphics core in VIA VT8623 [CLE
module_param(mode_option, charp, 0644);
MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
+module_param_named(mode, mode_option, charp, 0);
+MODULE_PARM_DESC(mode, "Default video mode e.g. '648x480-8@60' (deprecated)");
#ifdef CONFIG_MTRR
module_param(mtrr, int, 0444);