From patchwork Tue Jul 5 15:52:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 12906814 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 E8D0FC43334 for ; Tue, 5 Jul 2022 15:53:37 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 6CA59112; Tue, 5 Jul 2022 17:52:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6CA59112 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1657036415; bh=cBtwS58z1fGTuH27Pya4llI0JyNcEMHOWHNVeu9CBWE=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=nY7D0o3Gtvk2yYh9023SKYXru2P3TUSJIno882ih7NrV41GZDuYljTrGE9OwSBcQo 36uNuBcHEJFeOAPzHY46M0z06TpSO77KxTZHkS5GnNc3LGDFl9AZ4T1t/VdoEgLwta RVo9QCjFXYcVBNcdAnh1glFsNOgWHIHBXnkidFh0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 0F86EF80153; Tue, 5 Jul 2022 17:52:45 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3FF84F8015B; Tue, 5 Jul 2022 17:52:44 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 6F8D6F80104 for ; Tue, 5 Jul 2022 17:52:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 6F8D6F80104 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="cK0pM/Zw" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657036362; x=1688572362; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=cBtwS58z1fGTuH27Pya4llI0JyNcEMHOWHNVeu9CBWE=; b=cK0pM/ZwCcwJ9Q7sofxji5GQdrLNLgGFAx9KnotK+2C+mhpeUaL6eDV/ 0drKLo3n3kYdAHeDh76vHy6PTIz3xA2T++conFbsMLoz3Gh9Upcjl3tQ3 OZ4P+4uUV87H/2eq7r9mowexr0b4UCRT8IP9T3SH8MpqavR8LSEthEgQY ixo3gPMNoLqlBaLwxYv5EcjmZ9jRYcCIFSfTSMbooVJNnc3ALIHEoJeVL RNp1fzkxQFIC0MXuqGfGmTzJfkkZeH8kEtnV8zi/np6bdK9K/u82HUZEb s5RrCDVhgDRszKyMaFaUEUZ6kUo8jaltr1jLdBYdRdxmPRyRwfccXTkjM A==; X-IronPort-AV: E=McAfee;i="6400,9594,10398"; a="369710992" X-IronPort-AV: E=Sophos;i="5.92,247,1650956400"; d="scan'208";a="369710992" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2022 08:52:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,247,1650956400"; d="scan'208";a="769699683" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga005.jf.intel.com with ESMTP; 05 Jul 2022 08:52:34 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 178BF1A0; Tue, 5 Jul 2022 18:52:41 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/1] ASoC: madera: Replace kernel.h with the necessary inclusions Date: Tue, 5 Jul 2022 18:52:39 +0300 Message-Id: <20220705155239.75736-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Cc: Charles Keepax , Liam Girdwood , Takashi Iwai , Richard Fitzgerald , Mark Brown X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" When kernel.h is used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved. Replace kernel.h inclusion with the list of what is really being used. Signed-off-by: Andy Shevchenko Reviewed-by: Richard Fitzgerald Acked-by: Charles Keepax --- v2: added tag (Richard), Cc'ed ASoC maintainers include/sound/madera-pdata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sound/madera-pdata.h b/include/sound/madera-pdata.h index e3060f48f108..58398d80c3de 100644 --- a/include/sound/madera-pdata.h +++ b/include/sound/madera-pdata.h @@ -9,7 +9,7 @@ #ifndef MADERA_CODEC_PDATA_H #define MADERA_CODEC_PDATA_H -#include +#include #define MADERA_MAX_INPUT 6 #define MADERA_MAX_MUXED_CHANNELS 4