summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2014-05-16 15:33:53 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-24 21:45:33 +0200
commit11016daef2a6216306af39408d2180dead881c04 (patch)
tree6911ff76c57290419eb1de4e4b511e5983dc55de
parent[media] media: davinci: vpif_capture: return -ENODATA for *std calls (diff)
downloadlinux-11016daef2a6216306af39408d2180dead881c04.tar.xz
linux-11016daef2a6216306af39408d2180dead881c04.zip
[media] media: davinci: vpif_capture: drop check __KERNEL__
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>
-rw-r--r--drivers/media/platform/davinci/vpif_capture.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/platform/davinci/vpif_capture.h b/drivers/media/platform/davinci/vpif_capture.h
index ebf2da99cc41..1ee17824f484 100644
--- a/drivers/media/platform/davinci/vpif_capture.h
+++ b/drivers/media/platform/davinci/vpif_capture.h
@@ -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 */