Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp634937imm; Wed, 10 Oct 2018 01:38:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV60BE4zooFyGwGOvHFbZxNn5a12y4nV+a0VBGaU7AGHC01WUhetj7+K15dehlPFdDZToiTIl X-Received: by 2002:a63:4047:: with SMTP id n68-v6mr24332733pga.224.1539160724397; Wed, 10 Oct 2018 01:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539160724; cv=none; d=google.com; s=arc-20160816; b=WEip2VVf6l82cnza3vF5SKPMDGEkcWmMfLks/pBjAdpb4JM30NX6r6cCG0CjK0458m w3X+wtLDZTHGH62Y/76GGbjATOEebcbZ+QSlcA9zentBObkpca72ckffE+V5IgQk1XSE fZ96nPE5ArRcHES8l3LSWewA9JzFF3allYSTMGypAgUYwKt7ODVUeIfCsmOivYu7kagi QoByZ23ILskR5gxeIno1u62Uu0Emo/mBlagwIGdvfvsJ7nv5jlwn8soTWAHB73zE8bOp PFBXuh/6eqlNJxtVusqeX9mzdsR4llpTCjyWHorHMmlUjHMtiHCqzNHxcGSWufoIc5nd hNng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=X81Lu9huCZmDaAITfA0v3W9VU9iNImjL2rgVdU0P4qw=; b=JS1O5gi+uqgSVwIzhjMgHlALx9gspsXOb7qBIdlIanzROk583eNLTeSl5NZAvXkwwm FVg6pJpvr7TAwFtu/pJdDyPND094PYOmxrVTuiLDi1sLPGBB8B8Bda8wVRzoGymCmDrF u/tWXXUbz4sLu/LM3UzIDpXLwrLyDvCJtPUXR3hbgCnl2TvQO88UsV34StSfIlWrx8p7 y+K46VkADz/BJwi4jPEo6NK/ezKIR69dWNdHFHNEu+j083IHPQ3/oif35bbkrjQ8V+mu voeOtdfRQg47TTGobpF1BYbMyrAwdLf/oEcKexAHy4hvXpujeuiL0XUh4TsTK9FpfJC3 Njiw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r9-v6si26658525pli.248.2018.10.10.01.38.28; Wed, 10 Oct 2018 01:38:44 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727007AbeJJP7N (ORCPT + 99 others); Wed, 10 Oct 2018 11:59:13 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:54545 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726636AbeJJP7N (ORCPT ); Wed, 10 Oct 2018 11:59:13 -0400 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 To: Mark Brown Cc: Arnd Bergmann , Liam Girdwood , Marco Felsch , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: max98988: add I2C dependency 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-Spam-Flag: NO 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= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- sound/soc/codecs/Kconfig | 1 + 1 file changed, 1 insertion(+) 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 -- 2.18.0