Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2391362lqt; Mon, 22 Apr 2024 09:23:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUVv2n9U5r9tjWwLZ8enWlsuq2Aawl0BECFjIuLdSRzvWnLrFLotB6QzSkH+4ja6+DUjMISvoecRq8nTm5Z021UqprZFhAt32ySTNNFxA== X-Google-Smtp-Source: AGHT+IEeiymKKI7h7p67jsqW/W6nIlwPpyj5EyxVqEeX5ndRmVauzliA+8Gpe6wcKnLsoHk9YY/z X-Received: by 2002:a17:902:ecc4:b0:1e9:2d03:7c5d with SMTP id a4-20020a170902ecc400b001e92d037c5dmr8963620plh.47.1713803008214; Mon, 22 Apr 2024 09:23:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713803008; cv=pass; d=google.com; s=arc-20160816; b=LWiGI60g+P/CEYWhzUO/eGhZ2MaPlSLB2uNweWjndZwg5Hr+7eb7XShJfnEsfZ9GPP abvrhlJXugx+MOpT5iTEmX7ZpkWqhbp9iE+QYG5Q2qrMU2AWJ7TTa9Nd7cFL6EISIQv4 nAE5zOVaQg9QE6PV85rufwIkfYejzjTJ1mDw9FA0qzPHkRbXZArrDwBhFn/B6VB5gpCJ SNKQTwtR9heGQB4PjCUH0iM23cIBB1i5eMriS1OHF9/yBvFnitYUoZxTTgjaaDPvRBZG ug69tfEzcHkWJyA8kH5Hj9PhkwhT8oQwaI8CirIIt45QR+xPjoXlIwN9eZ52i41cgZJh 7xkA== 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=BXwtLLs8onEBCDFqA48GA30D4au84C8/39bBshMrNgE=; fh=sO8hvr2RX8hBP17PYWbAWzYM5FGupi/xIe1QP1sODBE=; b=Qs8NSKPPUFb4zauQsSwNOu2n3eAoEQg2ZyqtZcQj0Gpb3EM6xgt0dp0jTqkCwdSAb2 wYiU7XYcZRlBwP+IxS6/2/j2aQBfxtsrxMtB0SV3Tbi+GhELTbzKrEvHiOJfqC2vXHz8 ImADtdOFz48vLtK8gUSFMfKHkQqI4mo2Z/0j8hgKYy8QRRPVo9yhjcff74Y3a8gssNLj O2qWPRA+uROUtC5ipec11OGeJ2ccKbNqXduBwC5PPaCNCr5D1i0dCpmrZWhDyl24LIX/ c0NZH3GePZc2QaN/dki4xB+Y5YbK1sjRD27SHB6SWNVOJqBflfGkhNKpsAESfgK58Ggg pONQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XMotJ4d7; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-153615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153615-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id l15-20020a170903120f00b001e556c4c001si8288315plh.51.2024.04.22.09.23.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 09:23:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153615-linux.lists.archive=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 header.i=@intel.com header.s=Intel header.b=XMotJ4d7; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-153615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153615-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 824252875C6 for ; Mon, 22 Apr 2024 15:15:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3506152530; Mon, 22 Apr 2024 15:15:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="XMotJ4d7" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (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 6CB1A13E8B2; Mon, 22 Apr 2024 15:15:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713798922; cv=none; b=CnbpmaWzPmakHBCHp7OFNaaYnueoFNFt5kV0nHSP0Es/ZqyhM8GsRg/qkx9gIkOFDX+f80dgExEZXC54ghCe+9hnXYzrsUke780hNzA+b4rhyR1j2yRMAW9oCw5sOgaiyoBXoRKgXqVuaZVYSy2p6pSuih1hLygWCq+sUK0D8Ag= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713798922; c=relaxed/simple; bh=QvCJ68qrNmktK+1RElI+xrQxhN3qOPjuTTX6hAZbtIc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YGYrST4q2QqMbt7rJKaz4fNiC+LBx9QYl+n3bPE0ZN268USuS40Mt4/kVqU8FMU3JpY1HT8Lz+8iQLdv8fHLB4VFePdcE+XQcjeGysvSesMN5iWjTvF058CBFg9kdLmCsmH63GotHK/2Qrr/zEOAqkqBy0H8kC9qBiscz2gHG0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=XMotJ4d7; arc=none smtp.client-ip=198.175.65.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713798921; x=1745334921; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=QvCJ68qrNmktK+1RElI+xrQxhN3qOPjuTTX6hAZbtIc=; b=XMotJ4d7OQwcQptNwhmsU2NmhsVrQd/47hcp6rISL8sWFbrE5KE2NV9k 8yxHvpZe58DpEgyQCEmfj+VjwA/Snq2uOcawBc7g1GIlBwwm2MVrWaI1s JuuR333xVzeKmJmngMzrtNGIdwFWboGGZOeq3s5n1LRjbrgP1GCAPBylc 8JkTHpwhAZnpA28J5mKdgUl0zc0wu+jRFMDlPJITBakCwYD2alrvie5D/ kOly4w6Q6hRSUcXXc6w4R+AOIOkKX67iHgR4P7RE/qOhPglH+hffqIUwm sJga83un30hUmhO18DRpLI2LJ7ytblfEPdK9MdZh8ETU2s8UrAIfv6oa9 Q==; X-CSE-ConnectionGUID: l2dC6HRuTPCEizZdXeP4gQ== X-CSE-MsgGUID: z5DZh7k4RDKXMrdoH7W1FA== X-IronPort-AV: E=McAfee;i="6600,9927,11052"; a="13178098" X-IronPort-AV: E=Sophos;i="6.07,220,1708416000"; d="scan'208";a="13178098" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2024 08:15:20 -0700 X-CSE-ConnectionGUID: jLkbddDbQwinK0r2Q6A8kA== X-CSE-MsgGUID: o6MKjEI3QuKxDklZzuuzJQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,220,1708416000"; d="scan'208";a="23926265" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa010.jf.intel.com with ESMTP; 22 Apr 2024 08:15:17 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id E24ACFD; Mon, 22 Apr 2024 18:15:15 +0300 (EEST) From: Andy Shevchenko To: Mark Brown , Kuninori Morimoto , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Andy Shevchenko Subject: [PATCH v1 1/1] ASoC: soc.h: Don't use "proxy" headers Date: Mon, 22 Apr 2024 18:15:13 +0300 Message-ID: <20240422151513.2052167-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko --- include/sound/soc.h | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/include/sound/soc.h b/include/sound/soc.h index 0376f7e4c15d..2a1b6c198547 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -11,20 +11,30 @@ #define __LINUX_SND_SOC_H #include -#include -#include -#include -#include -#include +#include +#include +#include #include -#include -#include +#include #include -#include -#include +#include +#include +#include +#include +#include + +#include #include #include -#include +#include +#include + +struct module; +struct platform_device; + +/* For the current users of sound/soc.h to avoid build issues */ +#include +#include /* * Convenience kcontrol builders @@ -412,7 +422,6 @@ #define SOC_ENUM_SINGLE_VIRT_DECL(name, xtexts) \ const struct soc_enum name = SOC_ENUM_SINGLE_VIRT(ARRAY_SIZE(xtexts), xtexts) -struct device_node; struct snd_jack; struct snd_soc_card; struct snd_soc_pcm_stream; @@ -427,6 +436,7 @@ struct soc_enum; struct snd_soc_jack; struct snd_soc_jack_zone; struct snd_soc_jack_pin; + #include #include #include -- 2.43.0.rc1.1336.g36b5255a03ac