From patchwork Wed Dec 13 09:50:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 13490608 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 51A5BC4167D for ; Wed, 13 Dec 2023 09:50:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5241B10E730; Wed, 13 Dec 2023 09:50:40 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 72F3910E730 for ; Wed, 13 Dec 2023 09:50:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702461036; x=1733997036; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WSNjhf6+NOvKNhbkz0t8UQYThMGcCwC7Ahj7dZyAh5k=; b=l1nNiEFj3yCKu/dlzLsegeYtLt/DHMCtH2489IB5n7ffAZNbceBtSIjW piiVXDrr/noCnCekJwilzY/WZFBm42Q5KQa8cPEwtuRH3eZiJumdXRQ1+ 4Iy1kHucNa6+9g019pFr5Wt7BjRMtQ21dP+72z2D2uz/9nyNVrpnb7m6e TlkUIdhEX0Opi1RcJpzwr1Z8GVbxpqwfHfKdpzl5if11Rk7FojU7bfm7g O1+Y7BRaC7LO9AJV/UbSN2dQiKc3pMXlsuS0om4G872LcjZzJoViIYBl9 P4UjddevkfzEe4tSQZulNua1NdvuL7c8pG25lfniE7fawdIbGSOKa7ac1 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10922"; a="375093398" X-IronPort-AV: E=Sophos;i="6.04,272,1695711600"; d="scan'208";a="375093398" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 01:50:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10922"; a="808095897" X-IronPort-AV: E=Sophos;i="6.04,272,1695711600"; d="scan'208";a="808095897" Received: from oostoia-mobl.ger.corp.intel.com (HELO localhost) ([10.252.50.15]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 01:50:27 -0800 From: Jani Nikula To: Jani Nikula , linux-sound@vger.kernel.org Subject: [PATCH v2] ASoC: hdmi-codec: drop drm/drm_edid.h include Date: Wed, 13 Dec 2023 11:50:23 +0200 Message-Id: <20231213095023.3928703-1-jani.nikula@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231212143038.3828691-1-jani.nikula@intel.com> References: <20231212143038.3828691-1-jani.nikula@intel.com> MIME-Version: 1.0 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo 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: , Cc: linux-arm-msm@vger.kernel.org, Takashi Iwai , dri-devel@lists.freedesktop.org, Jaroslav Kysela Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" hdmi-codec.h does not appear to directly need drm/drm_edid.h for anything. Remove it. There are some files that get drm/edid.h by proxy; include it where needed. v2: Fix build (kernel test robot ) Signed-off-by: Jani Nikula --- I'm pretty sure I haven't compiled everything that might implicitly depend on the include. However, the right thing to do is to include drm_edid.h where needed, not from somewhat random intermediate headers. I hope this uncovers anything I missed. --- drivers/gpu/drm/msm/dp/dp_display.c | 1 + drivers/gpu/drm/vc4/vc4_hdmi.c | 1 + include/sound/hdmi-codec.h | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index 1b88fb52726f..766c8d01e6b3 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "msm_drv.h" #include "msm_kms.h" diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index 25c9c71256d3..d35d8a531cfc 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include diff --git a/include/sound/hdmi-codec.h b/include/sound/hdmi-codec.h index 9b162ac1e08e..5e1a9eafd10f 100644 --- a/include/sound/hdmi-codec.h +++ b/include/sound/hdmi-codec.h @@ -12,7 +12,6 @@ #include #include -#include #include #include #include