]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/ov511.h
V4L/DVB (9116): USB: remove info() macro from usb media drivers
[linux-2.6-omap-h63xx.git] / drivers / media / video / ov511.h
index 18c64222dd11f7f4a38bab979165085e2863bf2f..70d99e52329d53ff457d9d335982808e92171d8f 100644 (file)
@@ -4,6 +4,7 @@
 #include <asm/uaccess.h>
 #include <linux/videodev.h>
 #include <media/v4l2-common.h>
+#include <media/v4l2-ioctl.h>
 #include <linux/usb.h>
 #include <linux/mutex.h>
 
@@ -11,8 +12,9 @@
 
 #ifdef OV511_DEBUG
        #define PDEBUG(level, fmt, args...) \
-               if (debug >= (level)) info("[%s:%d] " fmt, \
-               __FUNCTION__, __LINE__ , ## args)
+               if (debug >= (level))   \
+                       printk(KERN_INFO KBUILD_MODNAME "[%s:%d] \n" fmt, \
+               __func__, __LINE__ , ## args)
 #else
        #define PDEBUG(level, fmt, args...) do {} while(0)
 #endif