From patchwork Fri Nov 2 11:06:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 150022 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1934119ljp; Fri, 2 Nov 2018 04:07:06 -0700 (PDT) X-Google-Smtp-Source: AJdET5dpCugwwFCXzqckXW9crJa1dq5A9l8hH1Xj9ik9GaAVk9jZRBcUBfZ6c5dYZ5RIEdajFzLu X-Received: by 2002:a17:902:544:: with SMTP id 62-v6mr10814871plf.73.1541156826715; Fri, 02 Nov 2018 04:07:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541156826; cv=none; d=google.com; s=arc-20160816; b=dBvSrWKciX7UO4QB7XDrUbXZfPEMV7mSCMCx/B3jOlR8ldI4df3vFgU5Q3qszP+GyK VNUcqnZsQ6DSHGaFMeZl+nypLvHwaGzrUraj/AUM168lE8aWBweqJW1JB748D4vA3Ns3 AjH6DDrlzsUisxi0nYuQmSjx0ihyKYnrr2M0CE2/Nif7WAWZNucCBWjKVutSXhVPrxh0 SlSfHJ4MK9uC/A0McN/AogDOv/u9KG17EPx8KNNFOJwak0mlRFxUK1h3h6/OPLP0f7kf u4+cqDbPh2w6in2gT74IuuTy3Y3cppyFPm3JU+oaWlGEngCjM9VXScV0kGMymlJYiQgm CATQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=YSbWZ0Wpjy47qjS/dy4qODH2usm24pBmcbe3y0BpLh8=; b=LLFJrDck0YpKc2G2SX37Ar5BwRsPxM/R/jM4YrbV8hvSzoqFKxs94Xn2HK8Z0so2Vq 6iMgFPGQ5jzCC8JVTbfyDzMhAZNUfPbHwQn0viGVHeZQPdIFJT6WEawTUWncy45d908W XKsPV1GTo/BNngphsJ3B1pBV6x/rqLMsEvwwHMKnut3Jw+82hdRDKz896t5DNMjgrpVV QEsduQYjJnaJe/8ucl4ubb1P1zH7Hf/ryO9r+zpH0YB7KulawSyAbGVQCltzfByX13r3 g1LV+kDpRmMLWkDYy4DG9CB1rXZL1eD1rhV1X2t34GK4MPYJuJAE7N8ipBXVqdnTR8Sq Tfbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-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 y190-v6si33342456pfy.147.2018.11.02.04.07.06; Fri, 02 Nov 2018 04:07:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-acpi-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-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726016AbeKBUNu (ORCPT + 9 others); Fri, 2 Nov 2018 16:13:50 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:37271 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726008AbeKBUNu (ORCPT ); Fri, 2 Nov 2018 16:13:50 -0400 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPA (Nemesis) id 1MV6G6-1g9DLc2mZy-00SAfA; Fri, 02 Nov 2018 12:06:54 +0100 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPA (Nemesis) id 1MV6G6-1g9DLc2mZy-00SAfA; Fri, 02 Nov 2018 12:06:54 +0100 From: Arnd Bergmann To: "Rafael J. Wysocki" , Len Brown Cc: Andy Shevchenko , Hans de Goede , Arnd Bergmann , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ACPI / PMIC: xpower: fix IOSF_MBI dependency Date: Fri, 2 Nov 2018 12:06:43 +0100 Message-Id: <20181102110653.118257-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:xkdK6a9ZQSeCCvMiGV+BrRwCFNLWlXYjLFsN1txAllwlA4OFMNg jrDVW5CWdk1bXUvKv9GoXFgV5eOPmjs0+bZSQt6QyApyRTmzS1NIMfOX10kCO/Kbpa7SKwe EMLIr09V2hGInpA/o2pE9rbwGBTanTpn28o3UvxAJgEqVYynTuYdFwWlFtdgwROeletb4HS Sc/UWfe3JPeWbc5pIxWzA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V01:K0:GytcoM4tlNw=:gbpJYu5XsUBQq0b43GFCi0 558sFersoyPvyP4nJcwwys/btOC5vFGQRt9ELOROgkBqvRIG/1P5PbFT44huCtYcVWJ4PzTMm /ZWey6aBPCdGXrQdFh5EeQkTYDzfY2Jk7JnQnhhZMq9bvnxxyz46QI+LUJDwbvjr96lSoPK1A k0P+vntdIIh6CI/w5+HY7xBGSHg3DW2JvfexqZqT4h/V7lERF1N91zqieHUsuYVE7RLM6UmWt CRSUjXi+auVQMLCuYwlTbptieG/in3r47RN4UD63cYIqpa4JXTBordyF1Ls+HAOSTwEhpkf8d f4rZ5CHhNZiOCphnJsyUZpRCCDlvTTJFcGGGHHeoMMdyyocpaTPnOEe+w9uFaqSxCpWGFY/Bc OncmChNQoAEZxjAsC3mxeGZzLh7ICRBTGRL6nq9BP5NLVoMcEptocZWHrCP+oKNwqZRZnWoFy iPTkREg7meXaLIUczXmmNz66xCNpozzbtPSyDtZqnxidMLlUVVBOZwDChD7rVLrRP5smYE2hx mgoUXLjsLqBCU/oviZYCk/w4l4iD9iJkTnU4VFxojn57XATxEI73E8QpoCheZlG449Ddoxoof bhlo99o9Qgts3vD9/80kPu7P2N91jUImwDv5sbXdSkLbPCulGOteR+GfcYYTTZwzyxCfCQcUR EXffGsmD093xdet1IX9Wj13MDm2ID+JyO9p4bxfltmRpTsYQp6VgKavYbhfuuhhHX1Nk= Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org We still get a link failure with IOSF_MBI=m when the xpower driver is built-in: drivers/acpi/pmic/intel_pmic_xpower.o: In function `intel_xpower_pmic_update_power': intel_pmic_xpower.c:(.text+0x4f2): undefined reference to `iosf_mbi_block_punit_i2c_access' intel_pmic_xpower.c:(.text+0x5e2): undefined reference to `iosf_mbi_unblock_punit_i2c_access' This makes the dependency stronger, so we can only build when IOSF_MBI is built-in. Fixes: 6a9b593d4b6f ("ACPI / PMIC: xpower: Add depends on IOSF_MBI to Kconfig entry") Signed-off-by: Arnd Bergmann --- drivers/acpi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.18.0 diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 18851e7eedd5..31a3c4a03f61 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -514,7 +514,7 @@ config CRC_PMIC_OPREGION config XPOWER_PMIC_OPREGION bool "ACPI operation region support for XPower AXP288 PMIC" - depends on MFD_AXP20X_I2C && IOSF_MBI + depends on MFD_AXP20X_I2C && IOSF_MBI=y help This config adds ACPI operation region support for XPower AXP288 PMIC.