[libcamera-devel] [PATCH v2 1/2] libcamera: ipa: rkisp1: Include linux/v4l2-controls.h

Niklas Söderlund niklas.soderlund at ragnatech.se
Mon Sep 28 23:08:14 CEST 2020


Do not depend on other headers to pull in the V4L2 controls header.

Signed-off-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 src/ipa/rkisp1/rkisp1.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
index d95d902adff3e244..0f5f8a8b436e60ff 100644
--- a/src/ipa/rkisp1/rkisp1.cpp
+++ b/src/ipa/rkisp1/rkisp1.cpp
@@ -13,6 +13,7 @@
 #include <sys/mman.h>
 
 #include <linux/rkisp1-config.h>
+#include <linux/v4l2-controls.h>
 
 #include <libcamera/buffer.h>
 #include <libcamera/control_ids.h>
-- 
2.28.0



More information about the libcamera-devel mailing list