From mboxrd@z Thu Jan 1 00:00:00 1970 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 BAD13E748F7 for ; Tue, 23 Dec 2025 21:49:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 229F510E2C8; Tue, 23 Dec 2025 21:49:24 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="CXK3MB4h"; dkim-atps=neutral Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id 292AB10E2C8 for ; Tue, 23 Dec 2025 21:49:23 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id A9DCC60146; Tue, 23 Dec 2025 21:49:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE087C116B1; Tue, 23 Dec 2025 21:49:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1766526561; bh=wbXv80wkGieMtorvtPo9xkBlFgUWbaK88e8WAPc0z+E=; h=From:To:Cc:Subject:Date:From; b=CXK3MB4hCoGBbojkYOT7XWk+L/iivDSCo3Pto64T4DqMbBN1Q2cO5M61KHFTUdqvi KoDWUZtskfEE5VN2Q9NuSe4x54HHJiYoLGhx5LUzlCsjH0YDXmfWhAfVf7RPEtkGGH XSkYl3vnUiuSopPn5An0ikZ5HOK5yH6PghPE8xkUwPvuNwqyGpkoynIOh0+GFmn/CR leH/RDmsHyASOsmJRxhbCABdmm/2ZRGL7CdMyoMVNvT8Lp+9qO+L2JVrIk83HmfDQ0 5ZQZChzUIxgALcV6UxnFq02SzWcbvyT3xNt93flVDgy2IPGi7XxvyO2MCQCJQfefLc H1F1KGmdEkowQ== From: Arnd Bergmann To: Linus Walleij , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Eslam Khafagy Cc: Arnd Bergmann , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm: pl111: fix build regression Date: Tue, 23 Dec 2025 22:49:09 +0100 Message-Id: <20251223214915.503913-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" From: Arnd Bergmann The drm_info() function requires the drm/drm_print.h header to be included first: In file included from drivers/gpu/drm/pl111/pl111_nomadik.c:7: drivers/gpu/drm/pl111/pl111_nomadik.h:11:32: error: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 11 | void pl111_nomadik_init(struct drm_device *dev); | ^~~~~~~~~~ drivers/gpu/drm/pl111/pl111_nomadik.c: In function 'pl111_nomadik_init': drivers/gpu/drm/pl111/pl111_nomadik.c:34:9: error: implicit declaration of function 'drm_info'; did you mean 'pr_info'? [-Wimplicit-function-declaration] 34 | drm_info(dev, "set Nomadik PMU mux to CLCD mode\n"); | ^~~~~~~~ | pr_info Fixes: a1542b8ca6ed ("drm: pl111: replace dev_* print functions with drm_* variants") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/pl111/pl111_nomadik.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/pl111/pl111_nomadik.c b/drivers/gpu/drm/pl111/pl111_nomadik.c index f3218d59c5f1..0e5153deb1ac 100644 --- a/drivers/gpu/drm/pl111/pl111_nomadik.c +++ b/drivers/gpu/drm/pl111/pl111_nomadik.c @@ -4,6 +4,7 @@ #include #include #include +#include #include "pl111_nomadik.h" #define PMU_CTRL_OFFSET 0x0000 -- 2.39.5