kernel/drivers/video/fbdev/sunxvr500.c
.. .. @@ -186,7 +186,7 @@ 186 186 spin_unlock_irqrestore(&ep->lock, flags); 187 187 } 188 188 189 -static struct fb_ops e3d_ops = {189 +static const struct fb_ops e3d_ops = {190 190 .owner = THIS_MODULE, 191 191 .fb_setcolreg = e3d_setcolreg, 192 192 .fb_fillrect = e3d_fillrect, .. .. @@ -272,7 +272,6 @@ 272 272 273 273 info = framebuffer_alloc(sizeof(struct e3d_info), &pdev->dev); 274 274 if (!info) { 275 - printk(KERN_ERR "e3d: Cannot allocate fb_info\n");276 275 err = -ENOMEM; 277 276 goto err_disable; 278 277 }