From patchwork Tue Feb 5 06:57:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 10796947 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B082713B5 for ; Tue, 5 Feb 2019 06:57:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 938162ADC9 for ; Tue, 5 Feb 2019 06:57:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 876C52B5EE; Tue, 5 Feb 2019 06:57:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43BA12ADC9 for ; Tue, 5 Feb 2019 06:57:35 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 653FA26743A; Tue, 5 Feb 2019 07:57:34 +0100 (CET) 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 329A2267444; Tue, 5 Feb 2019 07:57:31 +0100 (CET) Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by alsa0.perex.cz (Postfix) with ESMTP id 59FA0267439 for ; Tue, 5 Feb 2019 07:57:25 +0100 (CET) Date: 05 Feb 2019 15:57:22 +0900 X-IronPort-AV: E=Sophos;i="5.56,562,1539615600"; d="scan'208";a="6869491" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 05 Feb 2019 15:57:22 +0900 Received: from morimoto-PC.renesas.com (unknown [10.166.18.140]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 2713740174CA; Tue, 5 Feb 2019 15:57:22 +0900 (JST) Message-ID: <877eeeka1n.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto User-Agent: Wanderlust/2.15.9 Emacs/24.5 Mule/6.0 To: Jaroslav Kysela , Takashi Iwai MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Cc: alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH] ALSA: hda/ca0132: need CONFIG_PCI for compile 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto commit d99501b8575d ("ALSA: hda/ca0132 - Call pci_iounmap() instead of iounmap()") started to use pci_iounmap() on ca0132, but then, it should be depends on CONFIG_PCI. Otherwise, non CONFIG_PCI compile will be failed, like below linux/sound/pci/hda/patch_ca0132.c: In function 'ca0132_free': linux/sound/pci/hda/patch_ca0132.c:8455:3: error: implicit\ declaration of function 'pci_iounmap'; did you mean\ 'pcim_iounmap'? [-Werror=implicit-function-declaration] pci_iounmap(codec->bus->pci, spec->mem_base); ^~~~~~~~~~~ Signed-off-by: Kuninori Morimoto --- sound/pci/hda/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/Kconfig b/sound/pci/hda/Kconfig index 4235907..03af159 100644 --- a/sound/pci/hda/Kconfig +++ b/sound/pci/hda/Kconfig @@ -171,6 +171,7 @@ comment "Set to Y if you want auto-loading the codec driver" config SND_HDA_CODEC_CA0132 tristate "Build Creative CA0132 codec support" + depends on CONFIG_PCI help Say Y or M here to include Creative CA0132 codec support in snd-hda-intel driver.