]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/ov511.h
V4L/DVB (7977): cx18: fix init order and remove duplicate open_on_first_use.
[linux-2.6-omap-h63xx.git] / drivers / media / video / ov511.h
index 12b3d51e1c343bdd77c0d66f99d7962562d71af7..1010e51189b77bd3f6d2970bd69111659e84e51a 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <asm/uaccess.h>
 #include <linux/videodev.h>
-#include <linux/smp_lock.h>
+#include <media/v4l2-common.h>
 #include <linux/usb.h>
 #include <linux/mutex.h>
 
@@ -12,7 +12,7 @@
 #ifdef OV511_DEBUG
        #define PDEBUG(level, fmt, args...) \
                if (debug >= (level)) info("[%s:%d] " fmt, \
-               __FUNCTION__, __LINE__ , ## args)
+               __func__, __LINE__ , ## args)
 #else
        #define PDEBUG(level, fmt, args...) do {} while(0)
 #endif