Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1085821ybp; Wed, 9 Oct 2019 08:36:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUy+WvOcJBJX6Fnb1XR5z9OZ3asZjO75mFAthF2JfywcPbwtVcOd77qSNMAAlAbN9HNz0Q X-Received: by 2002:a50:c304:: with SMTP id a4mr3569145edb.303.1570635407539; Wed, 09 Oct 2019 08:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570635407; cv=none; d=google.com; s=arc-20160816; b=HG+xxhsJo/jfmrvCRgTYARX2E8O9QIIPx9MlpYShPXzvAR64VnCeP5Ji68jacX05g5 NoJ+pd0WFyEZV/N2Djrhj3xz0qcxsdkOSHSgwBZ/UKxvrySMNAuJIjBGDV8+o+MMbtHS 2WkYYzpQQXbW1Q/WL5MIssrMXNDbA6tijasJXzDlC2ka4bM9FeR+IWs/OtO97iqfDu7I K8FxasXb0wdIoE8gLfVOGpvMWrwyHuunH909yQp4P4Q8KXu47e+RimIfmQx+AceGRp74 dm0ES8yNG04MvR2asfdpm3nAQdQQnYzIP+oWiPr2Ff50fNnBbERkqsS7eC4F9I6xvaPn 5w+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Kn87cMPhZfFJVBHJAEEZIX/y9LLr6Y7iM6LRBEs/HaA=; b=gUBn91zuL+txsBOKN8ah6B0/T1xjfy/tYBR3rX6Pdj6lVMqooHoMMXvuFIpx1xCklE /uAAz7tB1ddsYmoJ7iRMPCTNeT93hdA+RlsHBr7klbdb2BgXjEIVvIaDekSMgs8saHD3 2KtxN2okSRVQDMbgfqBTchnqy8zCbkaBMyJffNYYfipnDOGbT06RTkHVLq7r3GUdKxau nL40S5UhgXD+pskrnZSGwgkciokgZSMf3CrY43LZL/bDndr7TgFjV3s+DWyoI6V4xXKr 8ZShz1dVzCac6H1bTTfZ/hSrGAv+yWsprX5au90DJqTbHGhDSk2kv+8JPnkExvBk3x/j NLTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c28si1525272ede.3.2019.10.09.08.36.23; Wed, 09 Oct 2019 08:36:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731270AbfJIPgT (ORCPT + 99 others); Wed, 9 Oct 2019 11:36:19 -0400 Received: from inva021.nxp.com ([92.121.34.21]:42650 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729883AbfJIPgT (ORCPT ); Wed, 9 Oct 2019 11:36:19 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id C8BB92001E1; Wed, 9 Oct 2019 17:36:17 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id BB4D12001D5; Wed, 9 Oct 2019 17:36:17 +0200 (CEST) Received: from fsr-ub1864-103.ea.freescale.net (fsr-ub1864-103.ea.freescale.net [10.171.82.17]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 289AC2060B; Wed, 9 Oct 2019 17:36:17 +0200 (CEST) From: Daniel Baluta To: perex@perex.cz, tiwai@suse.com, broonie@kernel.org Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, kuninori.morimoto.gx@renesas.com, Daniel Baluta Subject: [PATCH 1/2] ASoC: simple_card_utils.h: Add missing include Date: Wed, 9 Oct 2019 18:36:14 +0300 Message-Id: <20191009153615.32105-2-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191009153615.32105-1-daniel.baluta@nxp.com> References: <20191009153615.32105-1-daniel.baluta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When debug is enabled compiler cannot find the definition of clk_get_rate resulting in the following error: ./include/sound/simple_card_utils.h:168:40: note: previous implicit declaration of ‘clk_get_rate’ was here dev_dbg(dev, "%s clk %luHz\n", name, clk_get_rate(dai->clk)); ./include/sound/simple_card_utils.h:168:3: note: in expansion of macro ‘dev_dbg’ dev_dbg(dev, "%s clk %luHz\n", name, clk_get_rate(dai->clk)); Fix this by including the appropriate header. Fixes: 0580dde59438686d ("ASoC: simple-card-utils: add asoc_simple_debug_info()") Signed-off-by: Daniel Baluta --- include/sound/simple_card_utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sound/simple_card_utils.h b/include/sound/simple_card_utils.h index 985a5f583de4..293ff8115960 100644 --- a/include/sound/simple_card_utils.h +++ b/include/sound/simple_card_utils.h @@ -8,6 +8,7 @@ #ifndef __SIMPLE_CARD_UTILS_H #define __SIMPLE_CARD_UTILS_H +#include #include #define asoc_simple_init_hp(card, sjack, prefix) \ -- 2.17.1