From: Jingoo Han Date: Mon, 7 May 2012 00:20:09 +0000 (+0900) Subject: video: s3c-fb: use pr_debug instead of printk X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=65302e48ce51cb5c2d7e577a89b47918950da457;p=openwrt%2Fstaging%2Fblogic.git video: s3c-fb: use pr_debug instead of printk This patch uses pr_debug instead of printk to allow dynamic debugging. Signed-off-by: Jingoo Han Signed-off-by: Florian Tobias Schandinat --- diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index 70aff118b76e..5f9d8e69029e 100644 --- a/drivers/video/s3c-fb.c +++ b/drivers/video/s3c-fb.c @@ -47,7 +47,7 @@ #ifdef CONFIG_FB_S3C_DEBUG_REGWRITE #undef writel #define writel(v, r) do { \ - printk(KERN_DEBUG "%s: %08x => %p\n", __func__, (unsigned int)v, r); \ + pr_debug("%s: %08x => %p\n", __func__, (unsigned int)v, r); \ __raw_writel(v, r); \ } while (0) #endif /* FB_S3C_DEBUG_REGWRITE */