Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2330965rwd; Fri, 16 Jun 2023 02:27:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6NDON9oiF+eRk0gueRF73js8RT550JKyzbCuIqEF1SmB1mzV82ioG33i4YElJocYXppDrZ X-Received: by 2002:a05:6a20:3d92:b0:11d:38ea:7586 with SMTP id s18-20020a056a203d9200b0011d38ea7586mr2226455pzi.9.1686907642242; Fri, 16 Jun 2023 02:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686907642; cv=none; d=google.com; s=arc-20160816; b=yzGjOKCL3+YxGeGtrVDGZwBxeYd8mgz1tWJk0q2LfBvsxkDDdTig5i5gw41k+gJ91A 4YexphmIzgGUWl3/E7ITeXX54hiJeCpqa3+5tRbL/WRF73V7ssNCVUPIvUFahk2UY2+F KDnrvXHi4LDzxqj6X8VY2MKMUMCMk14a+jwHLw7CfdTFRcKVx7D0YTEz9vtd+cXSPXIg OrEJ1jaZAsrc7N3VqH59AaSvUb5nyDcXG2Ku+xth4PeHXPo43vylG5rUBy0H8D/msYA0 h052IX0UNC+DFiWw/0Z1vh4ZJ1Pr8Q1pbu/5Vii+ji7jXJIfyVGMRLVaZUstifN7Qf3t u7ug== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/PGR4q0st1pMt4amQfK45ClF4uN2eaPHu5aabcoXQK4=; b=HuI+bPQ+XqIQVjgncw7bV7tBxYTEYJiEpmnJJ3d3SXMHowPR9CCaFtY2kN0FGwPVg2 YhQKg5ZJVbd/HfqQEMDqVptkD9NyMo/Wf54AbOqzYtUEYZIlzDvBTMVGAQ7k7FEdVcHI HYKHYv++aEdDlTPcKSp9US9XyMK/F6sBu3RoeZzxrzgVkbOJiEBt0E/jtoVtk6fII44Z oQLQ+MaDNUc4UthSbNHAXfFJp8bCyQyMYemQxG7LpueUuy5LMP5mXLsNtowQVrgBL0/a yyV/SklhUuAdsdi5ed44E5ltvxOkcKvu0zrna0zlnCkggYmjVk7hg0Qbg1pCAG5dVW0z v0Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cb5Wuf4p; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i3-20020a17090332c300b001b3da77c1f1si8900171plr.194.2023.06.16.02.27.08; Fri, 16 Jun 2023 02:27:22 -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=@kernel.org header.s=k20201202 header.b=cb5Wuf4p; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244839AbjFPJFo (ORCPT + 99 others); Fri, 16 Jun 2023 05:05:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343989AbjFPJE7 (ORCPT ); Fri, 16 Jun 2023 05:04:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 213FE3586 for ; Fri, 16 Jun 2023 02:02:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DE1CA60C5E for ; Fri, 16 Jun 2023 09:02:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D68AC433C8; Fri, 16 Jun 2023 09:02:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686906146; bh=liQAyMeBABb3jk++u+GcttTTYo2zoQN5sl4L8LiR7W4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cb5Wuf4p9yI0VjVK/YaONawmhznz+7Rimp+gudyxGyAWeWkQKoIV3Ip6CHkjYm6ci SoqOhzy9/0kwQikK94Y/NhXGchjI9D/CADjiCK4fSaFkOj2fPubcRZfFu8OFPfsnGE 5OVYVWWXHOJJZOI1rHnQjt4fi4+ddvzhqBadP2kjC8nqcZ201XiMIscymtApauolaI 930BQ2v4pdm5L8ahRo4W3Kn8zGIpHuRnzdC58fXQopEwSaxmdvNLQ2UeFIib7szHTy 6fNdEImZcNX8bIvGhBYV6k4ndgW3kayd+X8OmA7gKNjwRIVDL54P5IDvPfQpSStiDa uoz1NcWQUx8mg== From: Arnd Bergmann To: Mark Brown Cc: Arnd Bergmann , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Yingkun Meng , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] ASoC: loongson: add PCI dependency Date: Fri, 16 Jun 2023 11:00:39 +0200 Message-Id: <20230616090156.2347850-3-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230616090156.2347850-1-arnd@kernel.org> References: <20230616090156.2347850-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 From: Arnd Bergmann The new driver fails to build when PCI is disabled: WARNING: unmet direct dependencies detected for SND_SOC_LOONGSON_I2S_PCI Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && (LOONGARCH || COMPILE_TEST [=y]) && PCI [=n] Selected by [y]: - SND_SOC_LOONGSON_CARD [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && (LOONGARCH || COMPILE_TEST [=y]) sound/soc/loongson/loongson_i2s_pci.c:167:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] module_pci_driver(loongson_i2s_driver); Add the appropriate Kconfig dependency. Fixes: d24028606e764 ("ASoC: loongson: Add Loongson ASoC Sound Card Support") Signed-off-by: Arnd Bergmann --- sound/soc/loongson/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/loongson/Kconfig b/sound/soc/loongson/Kconfig index c175f9de19a85..b8d7e2bade246 100644 --- a/sound/soc/loongson/Kconfig +++ b/sound/soc/loongson/Kconfig @@ -16,6 +16,7 @@ config SND_SOC_LOONGSON_I2S_PCI config SND_SOC_LOONGSON_CARD tristate "Loongson Sound Card Driver" select SND_SOC_LOONGSON_I2S_PCI + depends on PCI help Say Y or M if you want to add support for SoC audio using loongson I2S controller. -- 2.39.2