Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1441351imw; Tue, 5 Jul 2022 09:30:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tja3CGUqUkW0mMscnGpqHfBqFZkhfNw2kE1VOrXasmZ0BifqmYdEv9K86prkUUPgHDKllU X-Received: by 2002:a17:902:6b8b:b0:14d:66c4:f704 with SMTP id p11-20020a1709026b8b00b0014d66c4f704mr42638501plk.53.1657038601270; Tue, 05 Jul 2022 09:30:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657038601; cv=none; d=google.com; s=arc-20160816; b=znR0vyMsyy7bZrjAz+M0+pAjoNep9twfHpjIli/otZynz9Ngp2nFbE/58UTsGHYDTl ftsXfZ41qTGIukcFD9b95kpQF7r//pa16KOsV9ByJbJInwVCjFljzQhGXtChqqqPotfk don+o16h1mLPZLr7DaYh3tJgCt1wH997x3pV5uhhDtNPd8/hNuI7ruRbAN1BsHy1wwR2 aTdNgaYW1yVmYt/DdNtEAICro7mX4RkMy6iaYXLSA49X8cY3sRvZn15tG+1JAJwlJ7Xj xwHXdnrOJI34nIVF5MA834NndwSw7yr4Ag+gd3CBXbUlIV9kyYCZDlKyw+clGipDJXZr lK0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PhHrWvmjwjgMAGZE6UGVbV4S3HNrVaSGE8YhsMYR7nU=; b=ExVcgHNM/bfiIX2cRy/WG+s/gjiBkU1Dzu1ysh+JKv2ZzXQ1eFU2mSUAlI1Cmhm4xX 2fXMIPW4kfeqtLbRMZDK8p8uP1jw8dsk4Nnu7AcrvL6yalblFq2/UE60CQ+5VysTl5UA dGJKjij94Sgck9oUErNmQc609xlNUIew3nuYSYnKuhJjJTBPmnDJYxG7Ds4uA5PGgpYm 3xP9PCxgAOVfiMI0ABUqPT3GoYrd6GoY8q6mlGSZFqGdnQsgEfQBv6ejPAJ6Kww+J8DI xBBOgrWur17WCkJU8IznNC/AIx7LLoAUXBDGL25DP2DRPVYaFEQ4YhyR6HYakHEtoj92 UvvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Hv4ri0zB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p4-20020a1709026b8400b00161f0ac7250si39718210plk.276.2022.07.05.09.29.47; Tue, 05 Jul 2022 09:30:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Hv4ri0zB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232708AbiGEPyP (ORCPT + 99 others); Tue, 5 Jul 2022 11:54:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232559AbiGEPyC (ORCPT ); Tue, 5 Jul 2022 11:54:02 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 743F42A1 for ; Tue, 5 Jul 2022 08:52:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657036357; x=1688572357; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=cBtwS58z1fGTuH27Pya4llI0JyNcEMHOWHNVeu9CBWE=; b=Hv4ri0zBhqdVH0bvpyaUF1RQfsQAxgw75/KFoxpEd3pl+boCOWjM/JfY HieGKSQnkFmbrhpM4fZKYL3Z1OvW/iGwf9vQ5zFdIIofZbX1Jo5cznLcu C4sEhmLviiaRDXCNMYvBBvh6UE7Ur2TJFH166zj4MOPvP++Xb/hBgMVtC ouGGvOqzN9LDD3/oSIaXWoH/rtDO48jYtT5phGy4aHBGRxbBQqqvP3irl SdtY/5eRzTIQsYFQ3lwc2izYIJBNrpbil9mlCBe66q56U5gq5b9RHQo1V LUNshSgnrvtsccN1kttjpt3R3YqKosNqpOvmtX9ulH1f2VFRxEDJTksuJ w==; X-IronPort-AV: E=McAfee;i="6400,9594,10398"; a="272170058" X-IronPort-AV: E=Sophos;i="5.92,247,1650956400"; d="scan'208";a="272170058" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.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 Cc: Charles Keepax , Richard Fitzgerald , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Mark Brown 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 2.35.1