From 0d1d720c6adb0f1d7eba935c7d843c9a0a287f28 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 10 Oct 2008 08:08:23 +0000 Subject: USB: remove info() macro from usb media drivers From: Greg Kroah-Hartman USB should not be having it's own printk macros, so remove info() and use the system-wide standard of dev_info() wherever possible. Signed-off-by: Greg Kroah-Hartman CC: Douglas Landgraf CC: Mike Isely CC: Thierry Merle CC: Antoine Jacquet Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/ov511.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/video/ov511.h') diff --git a/linux/drivers/media/video/ov511.h b/linux/drivers/media/video/ov511.h index eba9f2e64..c303ac5a8 100644 --- a/linux/drivers/media/video/ov511.h +++ b/linux/drivers/media/video/ov511.h @@ -13,7 +13,8 @@ #ifdef OV511_DEBUG #define PDEBUG(level, fmt, args...) \ - if (debug >= (level)) info("[%s:%d] " fmt, \ + if (debug >= (level)) \ + printk(KERN_INFO KBUILD_MODNAME "[%s:%d] \n" fmt, \ __func__, __LINE__ , ## args) #else #define PDEBUG(level, fmt, args...) do {} while(0) -- cgit v1.2.3