Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1559211pxf; Fri, 26 Mar 2021 09:48:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoEeZ7D88KC5/es6EdtOgEIC5XJUcmyARDs6p25DID2FezojOtkE+DjhqAEbVuI9PJFk2h X-Received: by 2002:a17:907:7699:: with SMTP id jv25mr15888326ejc.363.1616777328314; Fri, 26 Mar 2021 09:48:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616777328; cv=none; d=google.com; s=arc-20160816; b=bV7uohteQAZJbL6Y3JDGvg/sYOfRY6KgB5aotBWArBTfTSAefTAZo/+NG1PsvHVUiS FTuryvVR5/gstnbpUG2Dpg7yrG0QT4Fso8GST/yHxc+ncsQG9DtYJlN1LNWr75yNMLWb U2f6EzLg3kUDZTGgw87f1z7288cCaQb7EWszD7tcGOiAWIhOBW653mbPcbaDeuHYc7Rq n7BjDYAzu5xHqYOjwQN7z2UzpS8okY4bJbmV+13gVXnB1Vc7Deuq+C56Oe6+nuLi9yxX wxsGnqGTs81fQbs3O3sFnJxKPY3H4RjNf60aIBHGu0fyvuambFjLL9aYqniilPuiqOWd GY1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=YrvXKLJroq5roBDHoxuc2Sw1kZW62VvgHH0+nmdtJd8=; b=MXvq0qzqcP8hKATmq/EZZUpJN3lUI2DtXePRy7wD6Tfbyx3em3x47W3AQhsl1QHMmC A3EgGXJ4SFatTnfJD1n9WKum6wIaiDGBBMwBvgsvVh36nKfNwg4c829KA77W58k14/yK xNlj452Y6wjRER7f0U8cLWOaJm4N9WKbsehL5gk+V8D86OygOp+ZVpXlhdj0K349EY9o gOpS17nvsiptzhuCOTusKmhYlhAsgVH3znW1dQzArT6b5bgUX+pOC59HHjbbmjqdyfxj pqZHnfj2Cws4ytcjBG/TgygzzZ0o4h/5v2CQrqNwv4wYx/SX5BfaVKx9I1QvoyCq7uU2 mrww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e18si7009076edj.485.2021.03.26.09.48.25; Fri, 26 Mar 2021 09:48:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230319AbhCZQpS (ORCPT + 99 others); Fri, 26 Mar 2021 12:45:18 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:57683 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230046AbhCZQpK (ORCPT ); Fri, 26 Mar 2021 12:45:10 -0400 Received: from mail-ot1-f48.google.com ([209.85.210.48]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MTzve-1lGaCf0udG-00R4FF for ; Fri, 26 Mar 2021 17:45:07 +0100 Received: by mail-ot1-f48.google.com with SMTP id w21-20020a9d63950000b02901ce7b8c45b4so5780606otk.5 for ; Fri, 26 Mar 2021 09:45:06 -0700 (PDT) X-Gm-Message-State: AOAM533iijlYiDHDXwsW+poA+ri7u2R8sXMdAw0kRSw8zylPEc53rq46 0wFAHqXL29Ctt9d5s9FVM9nAwWuuOpk9wci+Cxc= X-Received: by 2002:a05:6830:14c1:: with SMTP id t1mr12487281otq.305.1616777105952; Fri, 26 Mar 2021 09:45:05 -0700 (PDT) MIME-Version: 1.0 References: <1616777074-5151-1-git-send-email-Vijendar.Mukunda@amd.com> <1616777074-5151-2-git-send-email-Vijendar.Mukunda@amd.com> In-Reply-To: <1616777074-5151-2-git-send-email-Vijendar.Mukunda@amd.com> From: Arnd Bergmann Date: Fri, 26 Mar 2021 17:44:50 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] ASoC: amd: fix acpi dependency kernel warning To: Vijendar Mukunda Cc: Mark Brown , ALSA Development Mailing List , Alex Deucher , Basavaraj.Hiregoudar@amd.com, Sunil-kumar.Dommati@amd.com, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Pierre-Louis Bossart , Ravulapati Vishnu vardhan rao , open list Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:l6P7bzd03MjR1Tz7h6pvFFdJCrQ55kyD8FYWIYiE8lUdpbztEk9 80RtsZRaL4N4KQZ/viQXTzrAzFJHswkwJJnpc/tSH1+US+wfA3l3n0BqtIHxSUSizvSaQVF WKtxvR+Zc8TnKQYClfR8tYTI7lg92Jnu82hkihguZV0OM2FbB+J33o7ckP5nYeIqdSA/NKW FMQkKYBN6EToMJo7gMjfg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hiQhe9+vVoU=:42phf3I5qxiOI/BX/vYISd 8O/rEFxiHRVFg9YjtTxq1Pr0O+TFWlgjzKcse2fJMGyqVu8PRI+N8vc4KeSXfUVncynJMDG92 1fS4QXMBTgvUkVh8HqAeT31rsrekgud9dtMwiI/EHKFQ1yrqvTjh9S436ZO8a20inIawPtUnq +NMFaS3Res+1Qc+YbuFDzWQNEpMIYc+kuLhA7zIAb8AdIM0C4m5ny/pP6VsiHPw0f8X5DkZVb yV7D7SQUTu5laSuRcXOihxQ1/fWgSFQLyoGbDBat2mm/oLMSykGUfUAiRFFZ90D9SUjC4wKVo O3t8Cp/vet1zGUIkINr8B9ox+agFqmegAjetWRVMLr2KYZcZcuPYUn5ZmoCIkAugp62WSAWkr Tjru0iwegmindC3w6IJ13P5KogUjcvVPOEBCjgKkENxhQJfj0De3ETB1CmR9MsGoDW7OHuUby ZHc7ERylLLQSccTCd08ctaX8tSMVpul86v0TyGbSt6VcUX/93CFyEGcY/JBHWMQBH5bZMGyyA ia6Kf6/BRDV0sMQnUmaBv9O5b5sibIni0ZCx0/ACRg+VLYd+yQ8XP02Wvw6IYjNjdUaSHWXn/ +CgATO9YWbvcRRFAu/Dh2C+s2Lpg9YTAcK Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 26, 2021 at 5:44 PM Vijendar Mukunda wrote: > > Fix ACPI dependency kernel warning produced by powerpc > allyesconfig. > > sound/soc/amd/acp-da7219-max98357a.c:684:28: warning: > 'cz_rt5682_card' defined but not used [-Wunused-variable] > > sound/soc/amd/acp-da7219-max98357a.c:671:28: warning: 'cz_card' > defined but not used [-Wunused-variable] I would suggest simply dropping the unnecessary #ifdef and ACPI_PTR() guard. It might be helpful to hide the Kconfig submenu under 'depends on X86 || COMPILE_TEST'. Arnd