Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp164145ybn; Thu, 3 Oct 2019 03:16:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqwIwc/p7nyjZ++ZpX7s5eHN4WwSGGD3dFtK5H6wOzXVRSjrTHgZ4KUOPUFtrexBCz+527zL X-Received: by 2002:a17:906:4d8d:: with SMTP id s13mr6859173eju.5.1570097791773; Thu, 03 Oct 2019 03:16:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570097791; cv=none; d=google.com; s=arc-20160816; b=UlSwHp2Ogq9GsLoLP5k9wM2a8Knw9WuOV6W/MU9fjhhWHNOzkJA/ZIr6UHXb/GWuQs MMfmsfwV8y83ngXepcXXNBgXrEx8Eeongo8McUdEqUEpwJ09jvQzoXhHHLll+G3Wg+q3 uaVoDQ3N7Ah4a/POMNs6S+G/hp57/uKtVroIKBIITWC6cEtcBY9ZBNTYpXxcdsdPlYQy AscwMzMg8+VyFW0cGb2o0CqmTZ82vc5JdiX7ngW5XC9bPM/d75FAEHwyLfg+eUXiz2sH JzrZH3KdBo+NcW9djS45Rzy4eTKvtLHRzDvcNPZiDahl6TbII1uU9j8dOlKQ9WdEOXaL EZgQ== 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=cbFnLOzUO4l3+9MXTSgRfEvxWwen9PPts0YwAQ0qWh4=; b=SQSZS9vle6Xdg3B8cXpWomo9N61gkIbIscNAGQ7kc5ooN4h4r453CmzR4Bgc/eTOOY 5FxN+0Cg0kd4gaTpSfGehMm0bSdDRjs4wM44r8mVdNpfwMiKbn7rA0FC8MAp1CldhIOx q+07r3LoNdAqzEM/7PQdw9+AG614Us6j+fefDpNlVYlZI7cZLtpz94Pb4wwzRrySsinX OgUZERVGhcLm/gwDCAMbsgazd/FTnhX3HAzeNjyBqlY7mkbtl5sKisfnpPySn8dHEmW2 Pem9NcGnWJkEybWlNW5EXb9MaIPkOdXJOUBXIuhzaLLXQYPq2tmKw7eC8nEOA08bF1gg 0Gbw== 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 t37si1277403edd.25.2019.10.03.03.16.02; Thu, 03 Oct 2019 03:16:31 -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 S1728988AbfJCKOi (ORCPT + 99 others); Thu, 3 Oct 2019 06:14:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:44172 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726119AbfJCKOh (ORCPT ); Thu, 3 Oct 2019 06:14:37 -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 E28D4AD63; Thu, 3 Oct 2019 10:14:35 +0000 (UTC) From: Michal Suchanek To: alsa-devel@alsa-project.org Cc: Michal Suchanek , Vinod Koul , Sanyog Kale , Pierre-Louis Bossart , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH v2 1/2] soundwire: depend on ACPI Date: Thu, 3 Oct 2019 12:13:54 +0200 Message-Id: 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, ^~~~~~~~~~~~~ Cc: stable@vger.kernel.org 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