From patchwork Wed Oct 20 03:28:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 14187 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 2627CBDB1C for ; Wed, 20 Oct 2021 03:29:22 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7B9C568F59; Wed, 20 Oct 2021 05:29:21 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="mzrK0D99"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6AB1C60125 for ; Wed, 20 Oct 2021 05:29:20 +0200 (CEST) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DAA5A2A5 for ; Wed, 20 Oct 2021 05:29:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1634700560; bh=0xj2zoJRpZp41TJb/ZvnjVlHD1W4HTD8YVVNPOch7sc=; h=From:To:Subject:Date:From; b=mzrK0D99xnWefHh3C0RK4CnvQyRC9Dmbondk3+gEphu/iLfjDZJKx/DlX5NbN7jz5 llf1EHUT6+TSC7KSwuq4/2lV+gEwacKklXaLsdjKGOi0CGWPmrGSbyN3XPOEcAGad3 MB2fycNY32v38LfIv6+UoMC9+bH712sN6wjzHuXw= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Wed, 20 Oct 2021 06:28:58 +0300 Message-Id: <20211020032858.21806-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] android: camera_device: Cleanup header includes X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" camera_device.cpp doesn't use the PostProcessor class, the post_processor.h header shouldn't be included. Removing it causes a compilation failure as the CameraBuffer class is not defined anymore, include camera_buffer.h instead. Signed-off-by: Laurent Pinchart Reviewed-by: Umang Jain Reviewed-by: Hirokazu Honda --- src/android/camera_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: a31c8f02b9965ebe5b7d4347e4316172e4b7e8d0 diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp index ea676409b474..806b40908e98 100644 --- a/src/android/camera_device.cpp +++ b/src/android/camera_device.cpp @@ -24,10 +24,10 @@ #include "system/graphics.h" +#include "camera_buffer.h" #include "camera_hal_config.h" #include "camera_ops.h" #include "camera_request.h" -#include "post_processor.h" using namespace libcamera;