vserver 1.9.5.x5
[linux-2.6.git] / drivers / video / fbsysfs.c
index 8b3bbe0..4fec33d 100644 (file)
@@ -51,6 +51,8 @@ struct fb_info *framebuffer_alloc(size_t size, struct device *dev)
        if (size)
                info->par = p + fb_info_size;
 
+       info->device = dev;
+
        return info;
 #undef PADDING
 #undef BYTES_PER_LONG