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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35D11C636D6 for ; Wed, 22 Feb 2023 14:09:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231928AbjBVOJk (ORCPT ); Wed, 22 Feb 2023 09:09:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231809AbjBVOJf (ORCPT ); Wed, 22 Feb 2023 09:09:35 -0500 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F28BB360BF; Wed, 22 Feb 2023 06:09:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677074961; x=1708610961; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wpLN1gd73bREF0yIjZJYHMzn1mN4hBeaWGTvbEXlUfo=; b=Azq6YuJESvn6/1RIOM074MqvimHijYiaIHM+vAzTYLCGEWrGCbUaKPiE DVylxULS9SAsmM6gtlrqpx20Z6ugt6c9g+W965Mb2Nba/ByoldUgqmeMc iTtENah/7KrQ2K24iEEQZD2oIRkuloTRbgxv2fx0mbt4ZvEMRY8sAuUte 5ByxmtFzYPlYvPSOkItKeYvt5ZFFlRGYP0lTnoB9DK/K/LXrT6awl2llN HspAu9IYBdSSawvGLCbCyZsei7FuHNrAvm1JlDKB+8EHItQltsjNexQDH vOdXlpuUDiG88L/BcbhS5F8MCY9R8Cl+v5D1sxK5gJz8WIUhLPYXEssPu A==; X-IronPort-AV: E=McAfee;i="6500,9779,10629"; a="313305564" X-IronPort-AV: E=Sophos;i="5.97,318,1669104000"; d="scan'208";a="313305564" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2023 06:09:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10629"; a="781446604" X-IronPort-AV: E=Sophos;i="5.97,318,1669104000"; d="scan'208";a="781446604" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP; 22 Feb 2023 06:09:07 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pUpne-00ARKq-0t; Wed, 22 Feb 2023 16:08:50 +0200 Date: Wed, 22 Feb 2023 16:08:50 +0200 From: Andy Shevchenko To: Pin-yen Lin Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Daniel Scally , Heikki Krogerus , Sakari Ailus , Greg Kroah-Hartman , "Rafael J . Wysocki" , Prashant Malani , Benson Leung , Guenter Roeck , linux-kernel@vger.kernel.org, Hsin-Yi Wang , Marek Vasut , Thomas Zimmermann , dri-devel@lists.freedesktop.org, Xin Ji , Lyude Paul , Allen Chen , devicetree@vger.kernel.org, AngeloGioacchino Del Regno , =?iso-8859-1?Q?N=EDcolas_F_=2E_R_=2E_A_=2E?= Prado , chrome-platform@lists.linux.dev, Javier Martinez Canillas , linux-acpi@vger.kernel.org, Stephen Boyd , Douglas Anderson , "Gustavo A. R. Silva" , Imre Deak , Jani Nikula , Kees Cook Subject: Re: [PATCH v12 03/10] drm/display: Add Type-C switch helpers Message-ID: References: <20230221095054.1868277-1-treapking@chromium.org> <20230221095054.1868277-4-treapking@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 22, 2023 at 04:53:41PM +0800, Pin-yen Lin wrote: > On Tue, Feb 21, 2023 at 7:48 PM Andy Shevchenko > > On Tue, Feb 21, 2023 at 05:50:47PM +0800, Pin-yen Lin wrote: ... > > > #include > > > #include > > > +#include > > > > I don't see users of this. > > But a few forward declarations are missing. > > I can put a `struct typec_mux_dev;` here, but there is also a usage of > typec_mux_set_fn_t. > > Should I add the typedef into this header file as well? No, inclusion is fine, it's me who didn't notice the type in use. -- With Best Regards, Andy Shevchenko