Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8452490ybl; Thu, 16 Jan 2020 17:09:03 -0800 (PST) X-Google-Smtp-Source: APXvYqzsyOw/s2vhh/ahDElTGLDTXwj7yKREFRb1Oy/koEWMMzdjcAblpl75Sh9b4ejFWsxJg1sq X-Received: by 2002:a9d:7653:: with SMTP id o19mr4264677otl.118.1579223343233; Thu, 16 Jan 2020 17:09:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579223343; cv=none; d=google.com; s=arc-20160816; b=gStJ9OrI6Pb3A1oiztOOBuR/jRS9ZvtjlWxE4aW1DZur20eG+zWyBPFfnNHog0BVvD ktBlDfDc/vhjBBOPhspTnfSWpGBHKtnH7W6cq5c+JxbNFBeAE7+bKmLOUtL2kL17qC1F HJCcOOKY8Bz+4v0GL93L6C5SzKcLR91VhGWA3UBS8a+iIWwnehsdLXYJfVJRNVCdsyY3 ak/MgknzB+k84Mt6ZtrcJfy5QcAY11ufXZflW7bpKFjX46vimB8xl3Hs02RrCQUpb4Vn OaRxFinX8eslf/SLxr0GrrX44TfLtOTSYQna9yGrZzPgO/CcTH5OcdFcbo3oT00mOLui pPxQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=dHYV3Jgjdx21P5L2p0diX8h6cC+GwoW7euhf7QS4yrE=; b=dTPWFkDQwIBT5N7mQyRWJdiXXGUlNjPxN150wHHO7lvCLw4WfErj8+If9uMhsPkAu5 vP5M1fX+9w7Vi0TeE7hKqsbcSPjBo7y8jdHK07stHoKuNK+jD7kENBRfrMmry8WDNfGN vN4NOmmAmxnQAbX07itvdGOAyjd+2suY1OVqL3ZTeffsUHOfnjZ8hwjfCwhL3SGSPfHu HkuQ/1m/hL122gblIuQG8SDRxEJZUHsWW0VIYJDAP9mUhze36LKuNN1t96OoV6LzJY38 bv/vWvVLzV220TQ0M4mvlAovf0SMZpys/6HxJDVN3T1yFH5N73h2D5vr//CwVZaEuv5Q Zzgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="T8RbaMF/"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6si12679051oic.274.2020.01.16.17.08.49; Thu, 16 Jan 2020 17:09:03 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b="T8RbaMF/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389483AbgAPXWE (ORCPT + 99 others); Thu, 16 Jan 2020 18:22:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:49558 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731984AbgAPXVz (ORCPT ); Thu, 16 Jan 2020 18:21:55 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 12C9220684; Thu, 16 Jan 2020 23:21:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579216915; bh=+NWel1XDc0nVhEjZEKuLMD5HJ5Mm8G7/Xz0caA0IHO8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T8RbaMF/gWoCFzeG8PCVZDF+yK36JqfzfLzMwpzwsiWzQXHHnYTwvV0/mBNWaUVL/ 0zm4QGagiD+V8/a42X3MYfgpzDD+egJEH4YXsV7f9I5Ilf7LXr6MN5hz3/Ehmtu5u2 tXFL8wnU2OZNJqd1IVMmh38mfBus91Q+hauvJOF8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Daniel Baluta , Mark Brown Subject: [PATCH 5.4 056/203] ASoC: simple_card_utils.h: Add missing include Date: Fri, 17 Jan 2020 00:16:13 +0100 Message-Id: <20200116231748.878130122@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200116231745.218684830@linuxfoundation.org> References: <20200116231745.218684830@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Daniel Baluta commit 4bbee14d8e5487e3d2662138e3767cf4678cdf57 upstream. 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 Link: https://lore.kernel.org/r/20191009153615.32105-2-daniel.baluta@nxp.com Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- include/sound/simple_card_utils.h | 1 + 1 file changed, 1 insertion(+) --- 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) \