Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2828603rdb; Mon, 5 Feb 2024 21:22:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IFd/qMDERQO498h9g06cDfNLQz8Vv9PSqOCJDtaQ3mbpgnxmE3hprbYM0M69H0aAy4fo8Bv X-Received: by 2002:a05:6a20:1609:b0:19c:9418:c396 with SMTP id l9-20020a056a20160900b0019c9418c396mr737178pzj.31.1707196972706; Mon, 05 Feb 2024 21:22:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707196972; cv=pass; d=google.com; s=arc-20160816; b=q7lOu70KFKs9rHYlXYwGuG03DsJB6lhy0qakPxIQd1t5ZYdypeXMwf4p7ANv7cLiYq KGdODQHfSU7wbt02DTfSe66iD/WruyoeE1BgXq8DvuuW9+UaafJ4L2Zm8SVsbrIM92xH gCKNkEEYsmsuWn6ImIMLVxJYktSN6kPCe9aVjD24fD9BrPqQ7kMPZ/vctETa5vl/mzpy mtDun9tM5gNO7ofWn8jDa4TYqDjGR3jHayPevUHPTmpYs78GmPTREPAti/r4zMYCX1qT woACRcP/LQjXwglJi1/ZrmtsewVDtgS3r8VPz1AUrVDHcmBAQ2YBRgSur5kqcFcPloer NW/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=CT810LmIvRlmgKfGoSl4BlKjzkF48llYmbYfFHnJiTI=; fh=NXPby6WWpvvfLTRGB8oKaomPnbvULEMkUjNwO3JSED8=; b=aX8Q7HLOxfcp7NPOscuB4M8DtlhE3OMXjDRbusykBcdCMekvnJpsNypOBY+Abz91pY FkmpE/pcERWoBHASFOooF7GXADP8LWzBNfDDXmbZpGC84XqEeodPNBIgjjYRj/MBTzY3 44slFjRcU2874aRwS+PxyIfhlu4LOxQAMoeXB/w5+yHc8zcSK24WetSRSAYCVubIN0SZ 2bM/O4xR2jeOdrbboaSRqB9F57AWhY1QLNbpRRolV7uaDW6NcyIhsM7ompPYWTgG/mmT cvoNunlCIH/2ljSj+TOX2F65QkEV8tYcIzGR6OgI7W7AdbVy5HYpOVRzoLDuY8KtHb6g VF3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=EdpKSXY5; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-54352-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54352-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWl7B0bQv6xgfFxtOr6zkRY0wWO4x6wksV4s6vma7dZjOeEamWdlkDmHlDSco2wumPxS2NErsfTwR1c5loqI7nl1JPUcE1Rr7m7QCOFsw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o6-20020a056a001b4600b006e03beb3a94si1002269pfv.203.2024.02.05.21.22.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 21:22:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54352-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=EdpKSXY5; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-54352-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54352-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9C296284DB1 for ; Tue, 6 Feb 2024 05:22:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74AC37F7DC; Tue, 6 Feb 2024 05:22:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="EdpKSXY5" Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE0E17F484 for ; Tue, 6 Feb 2024 05:21:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707196919; cv=none; b=UQhQ9/GDIyzaiE4gIo7rCPhHry9vFbQ8zuUbmIC9dI55lV0oIjmvHYaEvP/OA+5Q/f/Obal4Oj3FpgsLJyGE6LFPmCZXQBvuATgosG/aFNudtARtcz8RJjCT/BKMSCm+GBSWfOFp3sRcWhwSC/tgLzrh6z4MJ8LZ2lYICdLbkAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707196919; c=relaxed/simple; bh=9A41tRMvVT0HRkVDL46qeI1eqNXMwP9Vk2At0gdP17A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=WKRSvo9N5YqmVoX6f7poX7RiPFO1x/H/CYPuvVacxYLtJ+Mm1NkYMkgDVBQcd9L34K5alWb8A/qPNhxTqES1E6x7hzAOYzfEDZfQWg9sfpw5vGaXfjJvvEqfBKt/eKoAf2XRpkBQELi+kZAZwxbAV4hhwY1tf8nwLp+uJHpN0Yc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=EdpKSXY5; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Received: from umang.jain (unknown [103.251.226.97]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 3A157975; Tue, 6 Feb 2024 06:20:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1707196831; bh=9A41tRMvVT0HRkVDL46qeI1eqNXMwP9Vk2At0gdP17A=; h=From:To:Cc:Subject:Date:From; b=EdpKSXY54c/nF68oGCaOegx1rI3C4z46fUilCKS0NdFnj6/gLQR8vHCOVSl7yDJKO 243Kswou8Y+ahqb8rgAVe9O7GN5dxYRbZeCp2+AUSlPfy3/m6gxunRFKZx7fjFzuU/ E//MjvyYMPac1l9KkpyCM6tsamcFqpQ93E57HOF8= From: Umang Jain To: linux-arm-kernel@lists.infradead.org Cc: Lucas Stach , Luca Ceresoli , Adam Ford , Laurent Pinchart , Rob Herring , NXP Linux Team , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Liu Ying , Neil Armstrong , Robert Foss , Daniel Vetter , David Airlie , Umang Jain Subject: [PATCH] drm/imx: Replace of_device.h with explicit includes Date: Tue, 6 Feb 2024 10:51:46 +0530 Message-ID: <20240206052146.69779-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.41.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it as merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. of_device.h isn't needed, but of.h is for of_node_put(). This fixes the following build errors: error: implicit declaration of function ‘platform_set_drvdata’ [-Werror=implicit-function-declaration] error: implicit declaration of function ‘of_node_put’ [-Werror=implicit-function-declaration] Fixes: 3075f087680b ("drm/imx: add driver for HDMI TX Parallel Video Interface") Signed-off-by: Umang Jain --- drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pvi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pvi.c b/drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pvi.c index 962779dc539e..8a51a2ac8df1 100644 --- a/drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pvi.c +++ b/drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pvi.c @@ -8,9 +8,10 @@ #include #include #include -#include +#include #include #include +#include #define HTX_PVI_CTL 0x0 #define PVI_CTL_OP_VSYNC_POL BIT(18) -- 2.41.0