kernel/drivers/video/fbdev/sunxvr1000.c
.. .. @@ -59,7 +59,7 @@ 59 59 return 0; 60 60 } 61 61 62 -static struct fb_ops gfb_ops = {62 +static const struct fb_ops gfb_ops = {63 63 .owner = THIS_MODULE, 64 64 .fb_setcolreg = gfb_setcolreg, 65 65 .fb_fillrect = cfb_fillrect, .. .. @@ -121,7 +121,6 @@ 121 121 122 122 info = framebuffer_alloc(sizeof(struct gfb_info), &op->dev); 123 123 if (!info) { 124 - printk(KERN_ERR "gfb: Cannot allocate fb_info\n");125 124 err = -ENOMEM; 126 125 goto err_out; 127 126 }