From patchwork Fri Jun 2 12:45:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102538 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1018027vqr; Fri, 2 Jun 2023 06:12:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4G6QTIeIqFIK16MqRYZDLPp/Kq35VPwaWifJVOnjtVct31bopKmvS/tcb8ELwt5KQZF8mu X-Received: by 2002:a05:6a20:4422:b0:10f:2273:16a8 with SMTP id ce34-20020a056a20442200b0010f227316a8mr10579931pzb.61.1685711529355; Fri, 02 Jun 2023 06:12:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685711529; cv=none; d=google.com; s=arc-20160816; b=K9GP/MhxXoIfz9cDdONU5Nz4UgZMhDwlQV56wNSfPbM8Fpl5GV/YXvgz4ytTDrnqO6 OFdbrg3WXdJ3IW3zNnMzzR5nuwZmwVrgrnZB8wDtIkoLs2CeYhjxsroTAystVVY5pg4X h8cyWE0mC6/CAIYYbPxKaCamoA96nEuO3E3TojXGa5BNILaU5A2ozAGjXR6F9YOxwp5P 6CmHhnM/SLnkH1gt+9IVs1bDOlVoify2vtDg+TJoWz1IYG67OMytppi8KhXumU/jWUDw U35/YVkn7F6kzylgcTA/18L0BbnQcXnkVrc+o1mRU+hVlQK6QwTKuE5BVVrhiAX5S8Ok mkBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=FnnJhGdrAGxFZzbwGk04myoSl86n69P1Lx0rIRepSWQ=; b=re1S03mifCrq6UZ8VQgq/8yPKFPkHdS6TljQ033D+hbn1G+iflsshwBEQ/nUtCj/ii dsHftjuRLFoWHeMkk4jLvfmWEdnaIddfUDHljrAOVHlYqlxwnOJp8kxrV/1J6tp3YJTk Jy/IhU6kqbLZASEbrvvrGlRp/mPPSi87/4hyySX/tobWWI/Ls5OCf1fVKLtQLP1mhWbE w3xYjQlixeRVrhcVOaUIoMROje32i9q6jlXOQVsOJdihiZeQ222dKaU/pjTw9zUdKUWw nKsY66vX6T3DUy+lT+OSVsZELRuZM63s4eeL+tvEW90hBRI4OGkbTbnxdNuOoqU3jVGy aQyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="O7//ivus"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n12-20020aa7984c000000b0063d2b810fc6si711518pfq.305.2023.06.02.06.11.56; Fri, 02 Jun 2023 06:12:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="O7//ivus"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235624AbjFBMpy (ORCPT + 99 others); Fri, 2 Jun 2023 08:45:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235450AbjFBMps (ORCPT ); Fri, 2 Jun 2023 08:45:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3EDA13D for ; Fri, 2 Jun 2023 05:45:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 734A06500B for ; Fri, 2 Jun 2023 12:45:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9ADDC433EF; Fri, 2 Jun 2023 12:45:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685709946; bh=5tsFEnVqyWViniqebIjKt9Ya28HTseKy3clt1psmZfY=; h=From:To:Cc:Subject:Date:From; b=O7//ivusxkzvhpdpQH02dhNTkRC0sOvOF+YB0GwZhXGeBCAxwHULuqQQ9EpYeA7Y7 HqqWMyv7IKFQe3LBqy6LE7meK3hQOkXI2u0n7KqpER8SIEKY3OpcxsZ8JqXHVK/mFQ l4y9ojcLWGGvBnGtYeHIGYcZYjgBCydx/1IUBI6lJwHfCISxvWbVvGVOhMAR/nxe5l YOqXBfenMxlami2rOk0x2hxi6TmMy2uVKFH+VoupA6dmdZ72/6C/x2A+EFO4j98FZn dT1cOVWYEQtQms+qsyzg1s8YBmiRMoQUi97nkETQ7gauSh8kyFxpU1LCjBVDlMsnK1 TukFu1vyjOKpA== From: Arnd Bergmann To: Neil Armstrong , David Airlie , Daniel Vetter , Kevin Hilman , Nicolas Belin Cc: Arnd Bergmann , Jerome Brunet , Martin Blumenstingl , Tom Rix , Carlo Caione , dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/meson: venc: include linux/bitfield.h Date: Fri, 2 Jun 2023 14:45:24 +0200 Message-Id: <20230602124539.894888-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767596652322920348?= X-GMAIL-MSGID: =?utf-8?q?1767596652322920348?= From: Arnd Bergmann Without this header, the use of FIELD_PREP() can cause a build failure: drivers/gpu/drm/meson/meson_venc.c: In function 'meson_encl_set_gamma_table': drivers/gpu/drm/meson/meson_venc.c:1595:24: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration] Fixes: 51fc01a03442c ("drm/meson: venc: add ENCL encoder setup for MIPI-DSI output") Signed-off-by: Arnd Bergmann Acked-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_venc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/meson/meson_venc.c b/drivers/gpu/drm/meson/meson_venc.c index 2bdc2855e249b..3bf0d6e4fc30a 100644 --- a/drivers/gpu/drm/meson/meson_venc.c +++ b/drivers/gpu/drm/meson/meson_venc.c @@ -5,6 +5,7 @@ * Copyright (C) 2015 Amlogic, Inc. All rights reserved. */ +#include #include #include