ChangeSet 1.2294, 2005/03/31 08:46:34-08:00, [EMAIL PROTECTED]
[PATCH] tridentfb: Clean up printk()'s
This patch adds KERN_ constants to all of the printk()'s that need them
in
drivers/video/tridentfb.c
Signed-off-by: James Nelson <[EMAIL PROTECTED]>
Signed-off-by: Domen Puncer <[EMAIL PROTECTED]>
Signed-off-by: Antonino Daplas <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
drivers/video/tridentfb.c | 2 +-
include/video/trident.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff -Nru a/drivers/video/tridentfb.c b/drivers/video/tridentfb.c
--- a/drivers/video/tridentfb.c 2005-03-31 10:26:15 -08:00
+++ b/drivers/video/tridentfb.c 2005-03-31 10:26:15 -08:00
@@ -1163,7 +1163,7 @@
fb_info.var = default_var;
fb_info.device = &dev->dev;
if (register_framebuffer(&fb_info) < 0) {
- output("Could not register Trident framebuffer\n");
+ printk(KERN_ERR "tridentfb: could not register Trident
framebuffer\n");
return -EINVAL;
}
output("fb%d: %s frame buffer device %dx%d-%dbpp\n",
diff -Nru a/include/video/trident.h b/include/video/trident.h
--- a/include/video/trident.h 2005-03-31 10:26:15 -08:00
+++ b/include/video/trident.h 2005-03-31 10:26:15 -08:00
@@ -9,7 +9,7 @@
#define debug(f,a...)
#endif
-#define output(f, a...) printk("tridentfb: " f, ## a)
+#define output(f, a...) pr_info("tridentfb: " f, ## a)
#define Kb (1024)
#define Mb (Kb*Kb)
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html