This patch adds KERN_ constants to all of the printk()'s that need them in drivers/video/sun3fb.c Signed-off-by: James Nelson Signed-off-by: Domen Puncer --- kj-domen/drivers/video/sun3fb.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/video/sun3fb.c~printk-drivers_video_sun3fb drivers/video/sun3fb.c --- kj/drivers/video/sun3fb.c~printk-drivers_video_sun3fb 2005-03-02 10:44:40.000000000 +0100 +++ kj-domen/drivers/video/sun3fb.c 2005-03-02 10:44:40.000000000 +0100 @@ -645,7 +645,7 @@ sizechange: kfree(fb); return -EINVAL; } - printk("fb%d: %s\n", fb->info.node, p); + pr_info("fb%d: %s\n", fb->info.node, p); return 0; } @@ -667,14 +667,14 @@ int __init sun3fb_init(void) case FBTYPE_SUN3COLOR: case FBTYPE_SUN4COLOR: if(idprom->id_machtype != (SM_SUN3|SM_3_60)) { - printk("sun3fb: cgthree/four only supported on 3/60\n"); + printk(KERN_ERR "sun3fb: cgthree/four only supported on 3/60\n"); return -ENODEV; } addr = CGFOUR_OBMEM_ADDR; return sun3fb_init_fb(*(romvec->pv_fbtype), addr); default: - printk("sun3fb: unsupported framebuffer\n"); + printk(KERN_ERR "sun3fb: unsupported framebuffer\n"); return -ENODEV; } #else _