From 9e3f0ca812ab8fa3f4e65ade41bf6fb936f14e15 Mon Sep 17 00:00:00 2001 From: Krzysztof Helt Date: Mon, 28 Apr 2008 02:15:10 -0700 Subject: 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 Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/video/tridentfb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/video/tridentfb.c') diff --git a/drivers/video/tridentfb.c b/drivers/video/tridentfb.c index 46669c66958..bd54cd0de39 100644 --- a/drivers/video/tridentfb.c +++ b/drivers/video/tridentfb.c @@ -75,6 +75,8 @@ static int nativex; module_param(mode_option, charp, 0); MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'"); +module_param_named(mode, mode_option, charp, 0); +MODULE_PARM_DESC(mode, "Initial video mode e.g. '648x480-8@60' (deprecated)"); module_param(bpp, int, 0); module_param(center, int, 0); module_param(stretch, int, 0); -- cgit v1.2.3-18-g5258