Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3620336rwd; Fri, 16 Jun 2023 22:25:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4SKB5C/Ff97wAWhqWYWZD8Xfat7v1zX/7CG9IZcXCf0tZMTOnr50o12xXogH6eytWiy/Nq X-Received: by 2002:ad4:5b81:0:b0:625:775e:8802 with SMTP id 1-20020ad45b81000000b00625775e8802mr4961538qvp.18.1686979533425; Fri, 16 Jun 2023 22:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686979533; cv=none; d=google.com; s=arc-20160816; b=XPKsFGD6g6d/xJUCOBJ0VgcBtqfom8qejRoSnip0pjwWejPtr1Kg0OcP7o1M6Mymrx MeEHM7liWNRRm46D20C2WcZaySuqDnFOa4A2ri/cDZz135BSuopZrnQBiJ9uQBTCX0BM tMykKQRyUTkj4aCYgCg7y/OglokCvgps5Y2cimTuNuN//5UyLXwutyuhXTvruo1km+ug FGyaRhmQAL99lfhL4/Ayb+2dkPGiV9LXjGs4O1t7/NBoF+msrQBXU8d5uua3Poa0BIu+ QldsEvSun3j6ZrewxHPGyaXVZREXw3BPJjCMa8gLLEPGV2VdNsDB9tVUaKrRLwIwy8S2 iZrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=iVbL06ecvTbKJLIW9R0V3emDT+EiFhX0womXFV5J6Qk=; b=yYHe6NF/CTjbRaVegq16ZoV6Ncqbe1qgDnDaSOJgYMGPfwgt0LCmc57/Er0BNVN/Lb CFa8jLSsqxC7IpvwLQii8J172HAh2/FAkOWc8fi0WjXU0/aSRHCRJs5yeR8mHaTDlbTW T253SvBs8RWVbWW+KNb5ugo9WyqspxcRLfELWkXO+OgSaZOWxLwDFAOU0yb+gT/6Js/H W9DSljDE5fmcuixsENlRVofxLEX7C7qm91EV1vorZ/aQUAR9I0E1hh/DXaTiX0a4yzix 8GsdqW8E0HS/ppT4L8uspoQnLus/W6uGOmyjPcdmPhXVoJunHQWB06jyS2qyCk8t8zhw uFCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="XlCFgO/I"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a63af08000000b0055397816fb9si49189pge.532.2023.06.16.22.25.12; Fri, 16 Jun 2023 22:25:33 -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=@infradead.org header.s=bombadil.20210309 header.b="XlCFgO/I"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230515AbjFQEVc (ORCPT + 99 others); Sat, 17 Jun 2023 00:21:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjFQEVa (ORCPT ); Sat, 17 Jun 2023 00:21:30 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1688CE4F for ; Fri, 16 Jun 2023 21:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=iVbL06ecvTbKJLIW9R0V3emDT+EiFhX0womXFV5J6Qk=; b=XlCFgO/IgjShb1qecHAHHOAup8 qDju1SLo3IbvU8gcFhB7gTeTZtAdD4SoNW9BCRjGPBHXlQPqlQpKGlXoxpqwSoW9bxgZbkiGyhgEj KVK6jYraANXMzCAzR1oEf1fxbhRpxeQMZIFcj0HzAmNR+DwsRxNR0etR0LXeLkkfZBjZ2GShDPPmk yPEC0uXng1E1IpSqYas6+7/Izyo8k9tWXRzvkyRI+fBRJvLV9MimUj1MNPEGdtUXM76WM3PORiPb8 +qxIcnLa6X7FUsFbdPLT/QNIz/YhEvd6P3Pe+HGNm74XlJRq/JcJQ6+LAP1q05llni8YsdSNNRTfT Pp6rIOGA==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qANR7-002gKb-17; Sat, 17 Jun 2023 04:21:17 +0000 Message-ID: <87367afc-102e-d6cc-e51e-74170a08b2cc@infradead.org> Date: Fri, 16 Jun 2023 21:21:16 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH 3/4] ASoC: loongson: add PCI dependency Content-Language: en-US To: Arnd Bergmann , Mark Brown Cc: Arnd Bergmann , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Yingkun Meng , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20230616090156.2347850-1-arnd@kernel.org> <20230616090156.2347850-3-arnd@kernel.org> From: Randy Dunlap In-Reply-To: <20230616090156.2347850-3-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 6/16/23 02:00, Arnd Bergmann wrote: > 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 Acked-by: Randy Dunlap Tested-by: Randy Dunlap # build-tested Thanks. > --- > 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. -- ~Randy