Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2618361pxb; Sun, 17 Oct 2021 20:40:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtKrz9x99t+T+/7O9n9tnfrf4x+yx++4pAMuHEmhmd0YzAh/D61IhtFNHYqXJpmEhx5iiJ X-Received: by 2002:a17:90b:4ac9:: with SMTP id mh9mr30834808pjb.173.1634528431080; Sun, 17 Oct 2021 20:40:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634528431; cv=none; d=google.com; s=arc-20160816; b=o85+SlsmpshqccthZS1Icr14mliVLixTOvdWAbn76tAKIyKB+BHNwMo2S4TwI71oMA LVNdwnmV1WWNeQXBO6+kI6rsrWQ8WHuiRMxfvEMJpZeCV/Y0ulUubyouFv2w/brErP8O YayvR5TowCfq1eXHVfoVYFA12Lz/W9b19qmkL1UAxatv6lBmIniVtTRnHWQb2tpCZlzT 237vYkAe2vOgz77zN+ib5KaeBUtvCVjby3J3IjYIE7nKfciRSyDZrBUdZYWq3Qyu18xT 2/fxFNADYck5jxNhDdMTkr76lemQUpsRlKdoozXVKpMHN23z9kJPhIf2QUU5Eu8gpP8y pJsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=ho5h5lMllJBTA3fQKLCWm5utOts+ez5ldPF7Z9wA2tU=; b=FvzbzGEQJ3QirH0A9DpUAAoU5QJrr/P20UHdiggQ/Z+wCYWZx4tNOZpvV1y7CpDIcp er39aoV7OG/ke76YKiRKrF0e6zxtwIkUE66mld+T96428+zYacDwfMavZArrtd5E0VpH Iw+u5XbBWK92HtfV1PHNrlitHjVQ97DtndxXyha6E+3jB9YeSXqKBPQNpFp0+khEylDn VEVQS/cQdhTHPaAv6FnzaA9ydnyhgxk/9j6a0Gh6NC5dClbOwC4mKGtAMOruj66CFOLr PtUC7L4ep3XS70783wgQJdApsNH8V8m5Q76b7FX4O0wBIUFvdY5T1ne9LIpt0iak/hqD yDqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=eUunTl5r; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="U4eB8p/L"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si9255883pgj.135.2021.10.17.20.40.17; Sun, 17 Oct 2021 20:40:31 -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; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=eUunTl5r; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="U4eB8p/L"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245005AbhJQHGI (ORCPT + 98 others); Sun, 17 Oct 2021 03:06:08 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:41590 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233513AbhJQHGH (ORCPT ); Sun, 17 Oct 2021 03:06:07 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id DE89A1FD62; Sun, 17 Oct 2021 07:03:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1634454236; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ho5h5lMllJBTA3fQKLCWm5utOts+ez5ldPF7Z9wA2tU=; b=eUunTl5rf8kZq/7y3fNjRItmUIqKCTohqXMOlBKY7/vAyQb24Whemf9pCihBAaovQZQUKW 3/Z9wPpTATJBtBrZh9IkCCFOMAy+eEVnLdHVKYFiNYn/ihVexdleiweRP9cQrijxf66tH5 eFhWEXD39ls043+E7bGyNJpQzqQbiPg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1634454236; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ho5h5lMllJBTA3fQKLCWm5utOts+ez5ldPF7Z9wA2tU=; b=U4eB8p/LqvR8LR7KnWsZMBzsxifv6S0rxJtTFZguOnj+L82irkQ1edRLuO2nrme0fMqLeP Cu8FkQtZ5KPcliBw== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id CFA7BA3B81; Sun, 17 Oct 2021 07:03:56 +0000 (UTC) Date: Sun, 17 Oct 2021 09:03:56 +0200 Message-ID: From: Takashi Iwai To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-m68k@lists.linux-m68k.org, Geert Uytterhoeven Subject: Re: [RFC PATCH] sound: ISA: not for M68K In-Reply-To: <20211016062602.3588-1-rdunlap@infradead.org> References: <20211016062602.3588-1-rdunlap@infradead.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 16 Oct 2021 08:26:02 +0200, Randy Dunlap wrote: > > On m68k, compiling drivers under SND_ISA causes build errors: > > ../sound/core/isadma.c: In function 'snd_dma_program': > ../sound/core/isadma.c:33:17: error: implicit declaration of function 'claim_dma_lock' [-Werror=implicit-function-declaration] > 33 | flags = claim_dma_lock(); > | ^~~~~~~~~~~~~~ > ../sound/core/isadma.c:41:9: error: implicit declaration of function 'release_dma_lock' [-Werror=implicit-function-declaration] > 41 | release_dma_lock(flags); > | ^~~~~~~~~~~~~~~~ > > ../sound/isa/sb/sb16_main.c: In function 'snd_sb16_playback_prepare': > ../sound/isa/sb/sb16_main.c:253:72: error: 'DMA_AUTOINIT' undeclared (first use in this function) > 253 | snd_dma_program(dma, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT); > | ^~~~~~~~~~~~ > ../sound/isa/sb/sb16_main.c:253:72: note: each undeclared identifier is reported only once for each function it appears in > ../sound/isa/sb/sb16_main.c: In function 'snd_sb16_capture_prepare': > ../sound/isa/sb/sb16_main.c:322:71: error: 'DMA_AUTOINIT' undeclared (first use in this function) > 322 | snd_dma_program(dma, runtime->dma_addr, size, DMA_MODE_READ | DMA_AUTOINIT); > | ^~~~~~~~~~~~ > > and more... > > Signed-off-by: Randy Dunlap > Cc: Jaroslav Kysela > Cc: Takashi Iwai > Cc: alsa-devel@alsa-project.org > Cc: linux-m68k@lists.linux-m68k.org > Cc: Geert Uytterhoeven Thanks, applied. Takashi