summaryrefslogtreecommitdiff
path: root/packages/linux/linux-omap/010-mru-fix-video-mode-param.diff
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/linux-omap/010-mru-fix-video-mode-param.diff')
-rw-r--r--packages/linux/linux-omap/010-mru-fix-video-mode-param.diff35
1 files changed, 0 insertions, 35 deletions
diff --git a/packages/linux/linux-omap/010-mru-fix-video-mode-param.diff b/packages/linux/linux-omap/010-mru-fix-video-mode-param.diff
deleted file mode 100644
index 50d69b8b75..0000000000
--- a/packages/linux/linux-omap/010-mru-fix-video-mode-param.diff
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Mans Rullgard <mans@mansr.com>
-Date: Wed, 3 Sep 2008 23:19:04 +0000 (+0100)
-Subject: OMAP: Fix omapfb video mode selection when built as module
-X-Git-Url: http://git.mansr.com/?p=linux-omap;a=commitdiff_plain;h=9bafff77f3028cd170c605c8d883963522c8546c
-
-OMAP: Fix omapfb video mode selection when built as module
-
-This fixes the video_mode parameter when omapfb is built as a module.
-
-Signed-off-by: Mans Rullgard <mans@mansr.com>
----
-
-diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c
-index 19a1a83..e0b3642 100644
---- a/drivers/video/omap/omapfb_main.c
-+++ b/drivers/video/omap/omapfb_main.c
-@@ -54,7 +54,7 @@ static unsigned long def_vxres;
- static unsigned long def_vyres;
- static unsigned int def_rotate;
- static unsigned int def_mirror;
--static char def_mode[16] = CONFIG_FB_OMAP_VIDEO_MODE;
-+static char def_mode[16];
-
- #ifdef CONFIG_FB_OMAP_MANUAL_UPDATE
- static int manual_update = 1;
-@@ -2143,7 +2143,8 @@ static int __init omapfb_init(void)
- omapfb_setup(option);
- #endif
-
-- omapfb_find_mode(def_mode, &video_mode);
-+ omapfb_find_mode(def_mode[0]? def_mode : CONFIG_FB_OMAP_VIDEO_MODE,
-+ &video_mode);
-
- /* Register the driver with LDM */
- if (platform_driver_register(&omapfb_driver)) {