From patchwork Tue Feb 6 05:21:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 197196 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1332268dyb; Mon, 5 Feb 2024 21:23:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IFz2xK9aS7EibpWOFGO/ro6h/iXzgQw4M68E8suVG8NN576Phm/0ffTR/gqaSZ5u0Tn7pzg X-Received: by 2002:a17:90a:9701:b0:28f:22fc:e84f with SMTP id x1-20020a17090a970100b0028f22fce84fmr1572141pjo.10.1707196979944; Mon, 05 Feb 2024 21:22:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707196979; cv=pass; d=google.com; s=arc-20160816; b=O51mEWZFr7lDfJBTRU5R+wWo9mG2UaRHZg34d2MdmJsKOheW6fWZ6xLjCccN66E1/c 2issG/470UtDNW+H2Wz04GoSgIR4fm/sHzehx8SqKlNj9dmI0w0Nj1bL7KVTl0Dcujbu SnsxPmtBDj8kcYE6WpjwjVraiK0mp7B8h5A5CZ5Cq130REA08zkls9t9HAjCixXwuyeL xcx+hXyEVYiQnkFf+lCUW2IfyU5xKLibM0aJ9P+TbHTkRX5wVSMxprYgASlfh/xSD5AT POxa3nXY2NZeIdVoI+deYk+XsH8SqhMgJ5hR2+EUHHYfyQ7OTTldNiqMzw5p1bff627k 2DeA== 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=dE1vZjrptf6ToiFUn9loikjEQvSzJusg0fCTi+Eqg0k=; b=HyLEIbMzuoBkD6rctBrn24bEa1nokUCrBG2kAXNteLi3nkwsmjL5kYU2pC5DXeB/PL XmpOV4YnHA9G6D1Um01R74552QFisVMisjUngdrFrh5nkdtUrwJPidAX3fRaKu7SUdLX My3CfFlIeXmhBVWACGWaW29LE7hAAbR8KwRIkVIXIZbcT8KpVhKPJQuloEzIHUjoc1nI SSdQcQzt9+nuW2ArFatf1CEDboLe6Ei9tqsvkSqaKBytajHfHHOuA1AY/nROGxupx+cZ DUsJ0PCz38Y+ATCZrEY0288oX2Y7iClEqka6SzJrizXv5ORXqEQe5v6lbW0l7rmQdA2p wzlQ==; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54352-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCXl2gtj7w9Fs988qRzt5kDHTZiojmDAfkyu5J1tlyb100LSqXVx1MgUSvuYEfgtoj4pfUv6lNI++viIfPoWMr8mJUV0tw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v20-20020a17090a899400b00296a1d0ce70si502586pjn.18.2024.02.05.21.22.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 21:22:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54352-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54352-ouuuleilei=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 1C0C02858D8 for ; Tue, 6 Feb 2024 05:22:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6724E7F7F5; Tue, 6 Feb 2024 05:22:02 +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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790125780258795513 X-GMAIL-MSGID: 1790125780258795513 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)