From patchwork Thu Sep 5 22:38:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Min-Hua Chen X-Patchwork-Id: 13793511 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3C1A9CE7AE0 for ; Fri, 6 Sep 2024 07:36:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7883010E182; Fri, 6 Sep 2024 07:36:25 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Ox/iFnjR"; dkim-atps=neutral Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4909910E343 for ; Thu, 5 Sep 2024 22:39:23 +0000 (UTC) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-206aee4073cso13747965ad.1 for ; Thu, 05 Sep 2024 15:39:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725575963; x=1726180763; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=rCDYYiCppuB7n7e+YXIEe54LH8OdKy8Qsr87xme6vNA=; b=Ox/iFnjRT2MJI5uKvr9M8D7ntKuT98fZuNKIAjLEgfx1IOJ2zQRrxZA4jWWz/B8qpY keuQISiEK9oVWgqEIjZ0qbMPpWRlHrohGE8FNXdTUdGFXIz8gJ4fOAYy/WlDshg9VjaS zphvx32lJa8M9mEPOFe9rNSoxs/D8h04McQTVetDzfFIgUEddEuzfvICeHSu+McK1jsA ZWGZ0qrE3W7QahAV8LTq7idqkHGKEzB9gQLzjbJmf5r24OtHGLclSIladUHuwOlQsxMt mWstalojEjDoVSYFfc9fzYn5683ulF/fFUCGa+xMZROKOt7QpmBeaPe4YMBoiCi8hIbA mp9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725575963; x=1726180763; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rCDYYiCppuB7n7e+YXIEe54LH8OdKy8Qsr87xme6vNA=; b=PSpfdcqMjmQErjzEPZIRRze1MYItPh3w9wp4DYARPxz5daV/Zv379b7KqaYOCOuP/L et6XT9fbN1xmKcSBkpXI/t0SvuyNSVBn30ZRN+iqbdSbgUCz7vsYTIJFpBApLfNMfH9/ PUJsliXmjFarrX2+wNF0p3SnjziUc7i3kxgsouenRJoSRd19AM+de9WhfbomRszKLxGB MNkllYu0iQWkZjmW35+ztzf+Scwl12rMLl751eldAG9eGnspxjgbbjiomSHIMwh2bjhz GgvxMGvI2hYzT6LbtBOX2rEbQpbLDPlBUKq0APDImXxkmARlw4sp03GDBEJF/9peqJ5V IivQ== X-Forwarded-Encrypted: i=1; AJvYcCX58lpv14rf/QDDMGJGJcfwRrx16W0qEp2xR2QBD7+4Rd/hc71BJRFtRRNQHZhN8N2aPx5qn6j0cTc=@lists.freedesktop.org X-Gm-Message-State: AOJu0Ywo3+ZmsMVhyY3DdoqMct6bdXLI3uhaSUQLYtj/sg/aus1nS0Ty E0wWbwZm9+2Bq6n9Rs7vxQ0BHlI6xacEdNFgLE8ITCJ34EHJuZ1v X-Google-Smtp-Source: AGHT+IFdDlOtC7QKiZljAYe/nH8z6tsEcq87j6lrJJXzigssQI2/0okjfjiTxKTZxUmFaIUPQUJsvQ== X-Received: by 2002:a17:902:f610:b0:205:eec:5755 with SMTP id d9443c01a7336-206f0526051mr8889545ad.23.1725575962683; Thu, 05 Sep 2024 15:39:22 -0700 (PDT) Received: from localhost.localdomain (111-240-109-89.dynamic-ip.hinet.net. [111.240.109.89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-206aea574dbsm33185335ad.214.2024.09.05.15.39.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 15:39:22 -0700 (PDT) From: Min-Hua Chen To: Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner?= , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: Min-Hua Chen , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/rockchip: include rockchip_drm_drv.h Date: Fri, 6 Sep 2024 06:38:50 +0800 Message-ID: <20240905223852.188355-1-minhuadotchen@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 06 Sep 2024 07:36:24 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Include rockchip_drm_drv.h to fix the follow sparse warning: drivers/gpu/drm/rockchip/rockchip_vop2_reg.c:502:24: sparse: warning: symbol 'vop2_platform_driver' was not declared. Should it be static? No functional change intended. Signed-off-by: Min-Hua Chen --- drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c index 18efb3fe1c00..c678d1b0fd7c 100644 --- a/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c +++ b/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c @@ -14,6 +14,7 @@ #include #include "rockchip_drm_vop2.h" +#include "rockchip_drm_drv.h" static const uint32_t formats_cluster[] = { DRM_FORMAT_XRGB2101010,