Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp529180ybn; Wed, 2 Oct 2019 01:58:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/A3y386ogA40B7NRzmcZTgWCT55enfqXrUOpGwFw03Zbcw2wwR+vXQvyK9Tar2Y1aZ7xj X-Received: by 2002:a17:907:411d:: with SMTP id nw21mr2009403ejb.8.1570006729688; Wed, 02 Oct 2019 01:58:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570006729; cv=none; d=google.com; s=arc-20160816; b=X7VUXr9xe7+PQrkGNxnAMO/Ike7ddXSgad4fhej/pOcHoNw5KEDylmWT0V+1ls62nq 6s7JEgiJHjb6+8XilIfiOWAsWkaoUEim7qUZxgnvl2LrEa/R4PGX9H0v4P2H7wXUpNH0 FOvDBVCg7rhHtv3gkkyeMKjVJBGEk8vEmRuRzU0iEq/bVICdAljWx03VvMrc8twhQRLk AGDVKQtCZFimJFOAhkXCjF0L7YtNOTvEQh7uHg/8dsWdjCANSX0wmqiYAujB65wKjAvq Rrj0r0xFbBvsCuPbBTO7JTDLbF+kj6s+wMk9ZzzrXUaSOdMk1OTs9DaNEJF5VUUc9MfW jgHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=n7hY1qkSvpysqpPCLRH3UOlCnUbc5ld5shoysK9rOKE=; b=uMezsatJ/vFdmumy/kUoY/f5na4w7kUmLKH+uG8zvQDJTDIvBZS3Iap/A1sHFqKrlw 1tcPjBsNZt8ReXguj8ovtWEyUDPDyttj5sAHMGM45nHRW4uE9ckLlLgJpmkGaf9JHHsg 8jdIACdj09NRM9njUbMWEeRx/R3GkWsasYTVT4LyoDPCSWjSJPD9PSrYF43zdew89Kun /iryG78RzChdEtRs9u7VJQEvT38ZenlEPNJ94M8RwTSL8SLNzKlxX/btBGB7bPZxqP0l cQSRamWTZ5TUO54KZXc32/471icl+Yko6zLzSnCAUE2Xg5SL9qUkd2gaqsXnFSGj13Qb tstg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o25si9830335ejc.361.2019.10.02.01.58.25; Wed, 02 Oct 2019 01:58:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727751AbfJBIdm (ORCPT + 99 others); Wed, 2 Oct 2019 04:33:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:34496 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725917AbfJBIdm (ORCPT ); Wed, 2 Oct 2019 04:33:42 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B6B21B090; Wed, 2 Oct 2019 08:33:40 +0000 (UTC) From: Michal Suchanek To: alsa-devel@alsa-project.org Cc: Michal Suchanek , Vinod Koul , Sanyog Kale , Pierre-Louis Bossart , stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] soundwire: depend on ACPI Date: Wed, 2 Oct 2019 10:33:29 +0200 Message-Id: <459d62805e8cb20e27667626e80d962569e7e83a.1570005196.git.msuchanek@suse.de> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191002081717.GA4015@kitsune.suse.cz> References: <20191002081717.GA4015@kitsune.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The device cannot be probed on !ACPI and gives this warning: drivers/soundwire/slave.c:16:12: warning: ‘sdw_slave_add’ defined but not used [-Wunused-function] static int sdw_slave_add(struct sdw_bus *bus, ^~~~~~~~~~~~~ Fixes: 7c3cd189b86d ("soundwire: Add Master registration") Signed-off-by: Michal Suchanek --- drivers/soundwire/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soundwire/Kconfig b/drivers/soundwire/Kconfig index f518273cfbe3..c73bfbaa2659 100644 --- a/drivers/soundwire/Kconfig +++ b/drivers/soundwire/Kconfig @@ -5,6 +5,7 @@ menuconfig SOUNDWIRE tristate "SoundWire support" + depends on ACPI help SoundWire is a 2-Pin interface with data and clock line ratified by the MIPI Alliance. SoundWire is used for transporting data -- 2.23.0