From patchwork Tue Oct 15 20:38:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Klug X-Patchwork-Id: 21633 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 9882AC326C for ; Tue, 15 Oct 2024 20:38:34 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 37E3565388; Tue, 15 Oct 2024 22:38:34 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="v/xdKilW"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E04A760537 for ; Tue, 15 Oct 2024 22:38:32 +0200 (CEST) Received: from ideasonboard.com (unknown [IPv6:2a00:6020:448c:6c00:64d4:9f74:8308:300d]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 23471A27; Tue, 15 Oct 2024 22:36:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1729024611; bh=9LIrdCjdczDr2LZBzey4V/CLGZUbzZXGAey/qJFr534=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=v/xdKilWl002Ugfqe4mO6OK8OvVw05+Lc1ww5wfAAfe/rwESCcxFqDSkncgKLRv9I lBk6hE+cgBXOZqoYrEXxe0B3uir143yB+zFgILJMcl0C6e2NM9QUdvbYdSdcc0Jccm Zyc3Tsr059O+KqqXpwQT48RUjOGgl4OqgnOmP7zk= From: Stefan Klug To: libcamera-devel@lists.libcamera.org Cc: Stefan Klug Subject: [PATCH v1 3/4] libcamera: controls: Add missing size to control_type Date: Tue, 15 Oct 2024 22:38:14 +0200 Message-ID: <20241015203820.574326-4-stefan.klug@ideasonboard.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241015203820.574326-1-stefan.klug@ideasonboard.com> References: <20241015203820.574326-1-stefan.klug@ideasonboard.com> MIME-Version: 1.0 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" The size member is missing in control_type. Add it. Fixes: 200d535ca85f ("libcamera: controls: Add ControlTypePoint") Signed-off-by: Stefan Klug Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart Reviewed-by: Paul Elder --- include/libcamera/controls.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h index ca60bbacad17..28fec767fae1 100644 --- a/include/libcamera/controls.h +++ b/include/libcamera/controls.h @@ -101,6 +101,7 @@ struct control_type { template<> struct control_type { static constexpr ControlType value = ControlTypePoint; + static constexpr std::size_t size = 0; }; template