[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>
This commit is contained in:
parent
d557b7d549
commit
11016daef2
|
@ -19,8 +19,6 @@
|
||||||
#ifndef VPIF_CAPTURE_H
|
#ifndef VPIF_CAPTURE_H
|
||||||
#define VPIF_CAPTURE_H
|
#define VPIF_CAPTURE_H
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
|
||||||
|
|
||||||
/* Header files */
|
/* Header files */
|
||||||
#include <media/videobuf2-dma-contig.h>
|
#include <media/videobuf2-dma-contig.h>
|
||||||
#include <media/v4l2-device.h>
|
#include <media/v4l2-device.h>
|
||||||
|
@ -132,5 +130,4 @@ struct vpif_config_params {
|
||||||
u8 max_device_type;
|
u8 max_device_type;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* End of __KERNEL__ */
|
|
||||||
#endif /* VPIF_CAPTURE_H */
|
#endif /* VPIF_CAPTURE_H */
|
||||||
|
|
Loading…
Reference in New Issue