Message ID | 20181010083758.2874864-1-arnd@arndb.de |
---|---|
State | Accepted |
Commit | 9641faa2db7e856f50a6d1169e1b9f01e7fcb2b0 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp573163lji; Wed, 10 Oct 2018 01:38:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV60YPUyuhkq180NzWM37dXkiCKZUu2oryeT6i2mi/uet6h2H3sH1/u/xRkkFeOALyJiGlUrQ X-Received: by 2002:a1c:9947:: with SMTP id b68-v6mr54203wme.22.1539160688180; Wed, 10 Oct 2018 01:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539160688; cv=none; d=google.com; s=arc-20160816; b=WnV2lBWeb2VXPM/p9Clh6n88b2ZpkA0Oo5FMoLWoA82LoGg21/yzo3zBPWZYRkrBeq g9AVSv9S68UMDhBr1LR7pZCDOdc2LkHbesdAHJZupLf/Ig4QuPitcryD+YRNneUvqazC uRuMWkbMaInaBelD7+y4Or68h5TaJLqJYKL/O8LdkO+c8PUnIq9rw3cKpIQdU0iFkKyj dxK5ga08mr9kxT8LD17d7h/QNSsexlXQ005e4yAUbO2IApLhok3YyjNSSQi8rzce7fdD Mb3ofIYNju1g/V8O0bDThdwYOrY1WtG6BuSJqqLh4cmgM8WZDvzbzBaq5KfEhyz5plT+ gfzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from:delivered-to; bh=SqigK+/gDp+R9woQCmMj6be6rnPyr6naZh5ZBCNnX+A=; b=OMJl/5HpazokYD1i1+Q6e1/7Y/G04Y0nYvXgqpGFu1wCxTf/1VNwvyk6vz1Q/XzPmI T8chSl8L0IE0dKUzW0pz7HXS2VrhsN673rITo6X9K+XJxygW2/zuU267GOAfi3aRyd+k egUG9Acv4vLtKi1uT3QYakV1AkAa6Yo7lXCq9gAfDY4G+ynddi4H6ToNZ8FvvugWT0Zx pOYPGNOu+h3HTQgWQcL7N1Zi6Lb9Uvl7cILhYHG32bfN14TRRlsxv34ftHJHxsy/2U29 ld11FN4P1EFtd6+rgykkJqfszl2GFr/ZTn3SyZ4mZyDHOhg7JknsF/CfvmtMlnnH9Fk+ nq2A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id p20-v6si21615889wrf.420.2018.10.10.01.38.07; Wed, 10 Oct 2018 01:38:08 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 3F12D2678F8; Wed, 10 Oct 2018 10:38:06 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id BCA632678FB; Wed, 10 Oct 2018 10:38:03 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE autolearn=disabled version=3.4.0 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) by alsa0.perex.cz (Postfix) with ESMTP id D8CB62678D9 for <alsa-devel@alsa-project.org>; Wed, 10 Oct 2018 10:38:01 +0200 (CEST) Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPA (Nemesis) id 1M5gAG-1g45CM05T0-007FAR; Wed, 10 Oct 2018 10:38:00 +0200 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPA (Nemesis) id 1M5gAG-1g45CM05T0-007FAR; Wed, 10 Oct 2018 10:38:00 +0200 From: Arnd Bergmann <arnd@arndb.de> To: Mark Brown <broonie@kernel.org> Date: Wed, 10 Oct 2018 10:37:13 +0200 Message-Id: <20181010083758.2874864-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:Qfp5pR79lWCJfM7fzvmyq3zfD5sS62VxeRjIUGvcmhXMSJz3wMx OEyKQStrCCY6Wcc8Kdlliv4shBj00DvvvT+UZMCxlCck0yS1YDG8NeOsumTrmi9gwCn9cuQ 1U6KISHonGpf8IFfxdFhQXi7FrTiTSubIFI6sBjdy63t9+9zBbp/H+WDEnQ/BXR998erYxN bSkUd1v8j3zxIljVfVNZA== X-UI-Out-Filterresults: notjunk:1; V01:K0:mDyJl6/+grM=:lb6ZdQPw7JjdTzftFf5dAS y/Ia+wXBcsfgcRUsZxZuvnKhc9osF1BNB4qEhUZ5UYovkiSUAydwxmyKCWiAA1mxLQn859PsP I0MvTQayK78uASBaHW52JtEIUVF6wXZGviECkGv1vN8hj7QlxGr3xgqCMOd8CmuIN4YmGGunc 6K1nso9ELBtzfQyjm6iB48d25Vs5YGyYsSvh+sIIlFHtfh4ycnfsdv4Rl5f1cWU8RElhJreol VYDC4siKTOoJIHJncVYqzwsComQdnLn4FVhSEooZobmVa4fTqHcy1gvsoFJ6rwdtiKzUguNaq BReQEdeBMuSJv7IIeTnRrDSQ1r1qrW9t+nZQcH8Qp4Ht0unheXYdxVJF0dPHWyOJ34rXTj/YB CiBDl6idskWi2z+C6Z2P1vsxtUPheTQJNhbZRoQIN3xT9Yai6s3HCxYG4cWfMA3hT94ek2SiI k0Ins8l0fTKqDKKUowf54bpHJl1O+QaJ6yseWWyKgGwgflOuwmHVrNdkDSFuXHoRNhMsQ3276 x+5m1rw5kIT3Xd3CZPhPyhPBNL1j+5p8cg+nXt9HpvFmAbRX+m7Zq3yqEsKQnzGISlFjxdtNv +88N99nTC4Kjqx1YamEtdWhjsSNKjMAi/4X6kZH8W1i9bHiAG04NQhvREvgrTm91+zn9x9k5B xi79zf7dgKf0BcGJ2T2ZVrMVclDDYF6LiDRFL6CKDMMk1wKvdm5mcZWyxqSXhKiuBtwE= Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Liam Girdwood <lgirdwood@gmail.com>, Arnd Bergmann <arnd@arndb.de>, Marco Felsch <m.felsch@pengutronix.de> Subject: [alsa-devel] [PATCH] ASoC: max98988: add I2C dependency X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org |
Series |
ASoC: max98988: add I2C dependency
|
expand
|
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 3c6bd6019b92..774d38310875 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -641,6 +641,7 @@ config SND_SOC_LM49453 config SND_SOC_MAX98088 tristate "Maxim MAX98088/9 Low-Power, Stereo Audio Codec" + depends on I2C config SND_SOC_MAX98090 tristate
max98988 only builds with I2C support enabled, otherwise we get a build error: sound/soc/codecs/max98088.c:1789:1: error: data definition has no type or storage class [-Werror] module_i2c_driver(max98088_i2c_driver); ^~~~~~~~~~~~~~~~~ sound/soc/codecs/max98088.c:1789:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] sound/soc/codecs/max98088.c:1789:1: error: parameter names (without types) in function declaration [-Werror] sound/soc/codecs/max98088.c:1780:26: error: 'max98088_i2c_driver' defined but not used [-Werror=unused-variable] Fixes: 24ae67c58250 ("ASoC: max98988: make it selectable") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- sound/soc/codecs/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel