kernel/drivers/video/fbdev/sunxvr2500.c
.. .. @@ -63,7 +63,7 @@ 63 63 return 0; 64 64 } 65 65 66 -static struct fb_ops s3d_ops = {66 +static const struct fb_ops s3d_ops = {67 67 .owner = THIS_MODULE, 68 68 .fb_setcolreg = s3d_setcolreg, 69 69 .fb_fillrect = cfb_fillrect, .. .. @@ -132,7 +132,6 @@ 132 132 133 133 info = framebuffer_alloc(sizeof(struct s3d_info), &pdev->dev); 134 134 if (!info) { 135 - printk(KERN_ERR "s3d: Cannot allocate fb_info\n");136 135 err = -ENOMEM; 137 136 goto err_disable; 138 137 }