From patchwork Wed Oct 9 14:04:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 13828492 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 50FA8CEDD9B for ; Wed, 9 Oct 2024 14:14:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=bnwS0+NGLTEQhT5Xo+xEb47h9jrQFgJGK3shHDh7zXk=; b=DuMfd7fNCmbrcu9XzG5jzTUB0R JKl+5LqqbMkMj66p8cY1cclBX1lWT8J1mIBSlMpJ+RynC3q9DRzdyJdNFgz77ez3ageGsvHKfSJLS NteZxNRlS1YYUj33AkQO8G6+tZ50Ljb1+1+SxUGT8HShciA9+YMiCcbR9nc6iEsHU/F6xfRjP5xZX ln/PC859a+R63YVL7E1rXDkWTw5GVRv5Uc3+zRWK2KWLe0GckZefLsY9SZhdawWmqG7Ua8mSAgJ3q 7eyAbhYEoWfSIlufsaogcgIJsrruEdoYj5xM4eY7bFHp5P1TtGsA5ZUj4KHPtwIdtJRFOPg1QXFm1 M/1uln8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syXRq-00000009Y6j-2ca2; Wed, 09 Oct 2024 14:13:54 +0000 Received: from mgamail.intel.com ([192.198.163.12]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syXJV-00000009WTo-23ot for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 14:05:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728482718; x=1760018718; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=+RcdG33kM26lU8gV00I0eEdx5IVJum437p9861Mbh+E=; b=A+tOXkOqkNJUMcpQJIhGOKJCusaVzl7HyPLWwnZTa39QR+3ciR77Fac+ NNcDhratoa6c5jJLLYKURHlco3L4ogwqmkJysOcRYxXmOnFXb+Tj3UxfB tc9IJH4VCLuYLIBKHDEr5wQtaAP/58CDp45ki68WMOmhh8uUx5im29mWd CDuMt+S5KfHfqdq2kj0OBs2T/gLgTmw98DfjGeVaPdFNVEjLiE4yPPmqj yRfdk6yg9e3TtZdSWKMR6GAk8ihFGH/App/AEa3DzpYo9KBTvxtRFmB9t IFXzs/z05rcGGzWz54hh4E4oN706KzG00WD5NhaoHt1j03f95Yy4AWopo A==; X-CSE-ConnectionGUID: eMH3OABLQwqWwlrKCNBSGA== X-CSE-MsgGUID: z+R9j/0NToKitj30e1nR+g== X-IronPort-AV: E=McAfee;i="6700,10204,11220"; a="31679340" X-IronPort-AV: E=Sophos;i="6.11,189,1725346800"; d="scan'208";a="31679340" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2024 07:05:02 -0700 X-CSE-ConnectionGUID: IqgK93AjT/GmyPQQHQc6CQ== X-CSE-MsgGUID: 5EyCHrbxSQGGYeWY21+fxA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,189,1725346800"; d="scan'208";a="81067851" Received: from ettammin-mobl2.ger.corp.intel.com (HELO localhost) ([10.245.246.80]) by orviesa005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2024 07:04:59 -0700 From: Jani Nikula To: dri-devel@lists.freedesktop.org Cc: jani.nikula@intel.com, Philipp Zabel , Dmitry Baryshkov , imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH] drm/imx: add forward declarations for types Date: Wed, 9 Oct 2024 17:04:52 +0300 Message-Id: <20241009140452.1981175-1-jani.nikula@intel.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_070517_572420_8F1C6B6F X-CRM114-Status: UNSURE ( 8.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The imx.h header does not forward declare the types it uses, and the header is not self-contained. Fix it. Fixes: cc3e8a216d6b ("drm/imx: add internal bridge handling display-timings DT node") Cc: Philipp Zabel Cc: Dmitry Baryshkov Cc: imx@lists.linux.dev Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Jani Nikula Reviewed-by: Philipp Zabel --- include/drm/bridge/imx.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/drm/bridge/imx.h b/include/drm/bridge/imx.h index e14f429a9ca2..b93f719fe0e7 100644 --- a/include/drm/bridge/imx.h +++ b/include/drm/bridge/imx.h @@ -6,6 +6,10 @@ #ifndef DRM_IMX_BRIDGE_H #define DRM_IMX_BRIDGE_H +struct device; +struct device_node; +struct drm_bridge; + struct drm_bridge *devm_imx_drm_legacy_bridge(struct device *dev, struct device_node *np, int type);