]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/fbmem.c
Merge ../linux-2.6 by hand
[linux-2.6-omap-h63xx.git] / drivers / video / fbmem.c
index ca02aa2bfcece83594d920ee2df7ff9d7c03fa28..e2667ddab3f11033fd440cf10ed57365741ae35e 100644 (file)
@@ -1031,7 +1031,7 @@ register_framebuffer(struct fb_info *fb_info)
                        break;
        fb_info->node = i;
 
-       fb_info->class_device = class_device_create(fb_class, MKDEV(FB_MAJOR, i),
+       fb_info->class_device = class_device_create(fb_class, NULL, MKDEV(FB_MAJOR, i),
                                    fb_info->device, "fb%d", i);
        if (IS_ERR(fb_info->class_device)) {
                /* Not fatal */