aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2008-04-28 05:15:10 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:37 -0400
commit9e3f0ca812ab8fa3f4e65ade41bf6fb936f14e15 (patch)
treef194121583620296426f4acb79073b0dc5acea56 /drivers
parenta81405439c4e9f710f75c41503cef5a5dbd39e4d (diff)
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')
-rw-r--r--drivers/video/pm2fb.c2
-rw-r--r--drivers/video/tridentfb.c2
-rw-r--r--drivers/video/vt8623fb.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/pm2fb.c b/drivers/video/pm2fb.c
index a52c61a0ce52..540249f741c3 100644
--- a/drivers/video/pm2fb.c
+++ b/drivers/video/pm2fb.c
@@ -1837,6 +1837,8 @@ module_exit(pm2fb_exit);
1837 1837
1838module_param(mode_option, charp, 0); 1838module_param(mode_option, charp, 0);
1839MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'"); 1839MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
1840module_param_named(mode, mode_option, charp, 0);
1841MODULE_PARM_DESC(mode, "Initial video mode e.g. '648x480-8@60' (deprecated)");
1840module_param(lowhsync, bool, 0); 1842module_param(lowhsync, bool, 0);
1841MODULE_PARM_DESC(lowhsync, "Force horizontal sync low regardless of mode"); 1843MODULE_PARM_DESC(lowhsync, "Force horizontal sync low regardless of mode");
1842module_param(lowvsync, bool, 0); 1844module_param(lowvsync, bool, 0);
diff --git a/drivers/video/tridentfb.c b/drivers/video/tridentfb.c
index 46669c669586..bd54cd0de39a 100644
--- a/drivers/video/tridentfb.c
+++ b/drivers/video/tridentfb.c
@@ -75,6 +75,8 @@ static int nativex;
75 75
76module_param(mode_option, charp, 0); 76module_param(mode_option, charp, 0);
77MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'"); 77MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
78module_param_named(mode, mode_option, charp, 0);
79MODULE_PARM_DESC(mode, "Initial video mode e.g. '648x480-8@60' (deprecated)");
78module_param(bpp, int, 0); 80module_param(bpp, int, 0);
79module_param(center, int, 0); 81module_param(center, int, 0);
80module_param(stretch, int, 0); 82module_param(stretch, int, 0);
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
112 112
113module_param(mode_option, charp, 0644); 113module_param(mode_option, charp, 0644);
114MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)"); 114MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
115module_param_named(mode, mode_option, charp, 0);
116MODULE_PARM_DESC(mode, "Default video mode e.g. '648x480-8@60' (deprecated)");
115 117
116#ifdef CONFIG_MTRR 118#ifdef CONFIG_MTRR
117module_param(mtrr, int, 0444); 119module_param(mtrr, int, 0444);