diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2008-04-28 05:15:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:37 -0400 |
commit | 9e3f0ca812ab8fa3f4e65ade41bf6fb936f14e15 (patch) | |
tree | f194121583620296426f4acb79073b0dc5acea56 /drivers/video/tridentfb.c | |
parent | a81405439c4e9f710f75c41503cef5a5dbd39e4d (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/video/tridentfb.c')
-rw-r--r-- | drivers/video/tridentfb.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 | ||
76 | module_param(mode_option, charp, 0); | 76 | module_param(mode_option, charp, 0); |
77 | MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'"); | 77 | MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'"); |
78 | module_param_named(mode, mode_option, charp, 0); | ||
79 | MODULE_PARM_DESC(mode, "Initial video mode e.g. '648x480-8@60' (deprecated)"); | ||
78 | module_param(bpp, int, 0); | 80 | module_param(bpp, int, 0); |
79 | module_param(center, int, 0); | 81 | module_param(center, int, 0); |
80 | module_param(stretch, int, 0); | 82 | module_param(stretch, int, 0); |