[PATCH 3/4] pm2fb: use modedb in modules
DORMANTno replies
From: Jim Hague <hidden>
Date: 2004-12-07 11:50:09
- modedb is now available in modules. Signed-off-by: Jim Hague <redacted> === a/drivers/video/pm2fb.c ==================================================================
--- a/drivers/video/pm2fb.c (revision 106)
+++ b/drivers/video/pm2fb.c (revision 107)@@ -112,8 +112,7 @@ }; /* - * Default video mode. In case the modedb doesn't work, or we're - * a module (in which case modedb doesn't really work). + * Default video mode. In case the modedb doesn't work. */ static struct fb_var_screeninfo pm2fb_var __initdata = { /* "640x480, 8 bpp @ 60 Hz */
@@ -1153,13 +1152,11 @@ info->flags = FBINFO_DEFAULT | FBINFO_HWACCEL_YPAN; -#ifndef MODULE if (!mode) mode = "640x480@60"; err = fb_find_mode(&info->var, info, mode, NULL, 0, NULL, 8); if (!err || err == 4) -#endif info->var = pm2fb_var; if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) -------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/