[media] media: davinci: vpif_capture: drop check __KERNEL__
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Fri, 16 May 2014 13:33:53 +0000 (10:33 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 24 May 2014 19:45:33 +0000 (16:45 -0300)
Drops check for #ifdef __KERNEL__, because this header is a Kernel
only header, where this define is always true.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/davinci/vpif_capture.h

index ebf2da99cc419f07d1a4aa548ed2aaaa9c4fd686..1ee17824f4846532b531adbfcb47c92fd2dd8cb6 100644 (file)
@@ -19,8 +19,6 @@
 #ifndef VPIF_CAPTURE_H
 #define VPIF_CAPTURE_H
 
-#ifdef __KERNEL__
-
 /* Header files */
 #include <media/videobuf2-dma-contig.h>
 #include <media/v4l2-device.h>
@@ -132,5 +130,4 @@ struct vpif_config_params {
        u8 max_device_type;
 };
 
-#endif                         /* End of __KERNEL__ */
 #endif                         /* VPIF_CAPTURE_H */