DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Arm Omap3 Mimo 710 Udlfb-0.2.3 Patch
// description of your code here
--- udlfb.c.org 2009-08-28 17:29:47.000000000 -0400
+++ udlfb.c 2009-08-28 17:22:34.000000000 -0400
@@ -21,6 +21,7 @@
#include <linux/mm.h>
#include <linux/fb.h>
#include <linux/mutex.h>
+#include <linux/vmalloc.h>
#include "udlfb.h"
@@ -778,8 +779,8 @@
printk("EDID XRES %d YRES %d\n", info->var.xres, info->var.yres);
if (info->var.xres == 0 || info->var.yres == 0) {
- info->var.xres = 1280;
- info->var.yres = 1024;
+ info->var.xres = 800;
+ info->var.yres = 480;
}
if (dlfb_set_video_mode(dev_info, info->var.xres, info->var.yres) != 0)





