Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93B72C77B7A for ; Thu, 1 Jun 2023 16:29:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1968B863CA; Thu, 1 Jun 2023 18:25:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="CrLeFAUw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 48C408639E; Thu, 1 Jun 2023 18:25:09 +0200 (CEST) Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 970958631B for ; Thu, 1 Jun 2023 18:25:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x12f.google.com with SMTP id e9e14a558f8ab-33be5dbb90cso3671315ab.0 for ; Thu, 01 Jun 2023 09:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1685636683; x=1688228683; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9TalzAqDVGNoRg/MU39b1guS/V3oxpjuJWyXlDkAtqw=; b=CrLeFAUwRsD1SJ9Mjt5ZTYem/57UB0ua5OQKbtvayWX0vsuwXngMhwAs6gqcmbivfh S3rmlWx621ceDXpoRiq7YYgmRvhT0la+lyMdlF8ciwyHkfMW5jpmb3GwIclaCeSlf1zx FqBvI4tv9Ur5WzT6DRMfsEvSrc8Ml7gtU8AOs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685636683; x=1688228683; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9TalzAqDVGNoRg/MU39b1guS/V3oxpjuJWyXlDkAtqw=; b=Yc9UbbJ8yQWRvzxF38plc1gDoh/3h17ZFbykrCL1xZgECGY+neWEMgQLN1aTPLedzi qAdQGJxi71BraoSEZKiBn68kQo4sla+7drFV5ARRPX6GaIFaJ1EzGzhz9O7xjuEL1g0+ ltpJv2puTqGGeA6wBQ3yYiVWZaPxo1kfKkJ6nmkw1Xw6uVzsYVtd3AtL002LI/hfslcZ nX81WnKei/66P03ZcneSWb9iova8XmERt5K6vQqVNUrSiFAHJHTmq3djjPhP1vk1+cF8 WUtOVJQtwq//dfFoXLIcPGJdQT3qFqdi7a98+Ba9lJbwfNyo4GPwCw+2omUnzDI2TsPb +zig== X-Gm-Message-State: AC+VfDy1r7SZQ4Oc5boTCnDvz5o8NTKWdBkBd6olAyR3AlaspsKRm/Qr 9bJNmVP20FwOtiucDrbC8YMtSjm88szAh8Z4Z0c= X-Google-Smtp-Source: ACHHUZ5Ner+1I9JlcaY9+nsAvbgkHfeP36F2RWaZCjVMOHeOZ2mMXSllg0e7RzbGeBSkOxz94xpJnQ== X-Received: by 2002:a92:d405:0:b0:338:b9a1:5d06 with SMTP id q5-20020a92d405000000b00338b9a15d06mr4958178ilm.2.1685636683322; Thu, 01 Jun 2023 09:24:43 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id l1-20020a922901000000b0033a6e7ee4e3sm3862098ilg.1.2023.06.01.09.24.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 09:24:43 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Tom Rini , Simon Glass , Anatolij Gustschin Subject: [PATCH 20/40] video: Correct docs for video_index_to_colour() Date: Thu, 1 Jun 2023 10:22:44 -0600 Message-ID: <20230601162404.220488-19-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.rc0.172.g3f132b7071-goog In-Reply-To: <20230601162404.220488-1-sjg@chromium.org> References: <20230601162404.220488-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This uses the private data of the video uclass, not the console uclass (its child). Update the comment to avoid confusion. Signed-off-by: Simon Glass Fixes: a032e4b55ea ("video: Move console colours to the video uclass") --- include/video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/video.h b/include/video.h index e5b0db294734..dd0d55baa31a 100644 --- a/include/video.h +++ b/include/video.h @@ -162,7 +162,7 @@ enum colour_idx { * The caller has to guarantee that the color index is less than * VID_COLOR_COUNT. * - * @priv private data of the console device + * @priv private data of the video device (UCLASS_VIDEO) * @idx color index * Return: color value */ -- 2.41.0.rc0.172.g3f132b7071-goog