From patchwork Mon May 15 16:33:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 9727551 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8785860386 for ; Mon, 15 May 2017 16:34:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7CA6828985 for ; Mon, 15 May 2017 16:34:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 715292898B; Mon, 15 May 2017 16:34:46 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7395728985 for ; Mon, 15 May 2017 16:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=3sXh+jKdf373Fflq1IwKn6GzsmZv5pPrrLhUfirkoT4=; b=eZG WPpbXzMepXCUrtx5Pxx2maOqmLidrx5/jwNbeWA8Wits+pHtK6U9ZZb/0USlW5TDqwru3h0mSUoml JejpwLFWHZHI5m9v/cbj8qy8oIY/D4Qa+nJPJPrmy7IAQFGElFG5V63C/jx3H+4343eEKMu46pyUg salGhjDjkDd0LSurwfq/5F31geCuNandSnqN41lVV76pUi+QV+hYCVOoceEk8QNqSRgURbKV2ez9u +Ow2nMJS10wZNHIUK45423b3TdoNO9PBeD5Z8CmQhC74Xs0VucHMF5NjRyGipo5x56X3Op0TLWRdd DnScBWUA7gLe+gpgrxyaosyJ47e+05A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dAIxG-0003LC-Gc; Mon, 15 May 2017 16:34:42 +0000 Received: from bh-25.webhostbox.net ([208.91.199.152]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dAIxC-0003DG-6P for linux-arm-kernel@lists.infradead.org; Mon, 15 May 2017 16:34:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender: Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Md/E7jRAs80MfiU1EVz1vixGKC86VziETBE3oGZIHkw=; b=MprEAFJqwXWI4bP/XrCib1lXuN 1VAyp+hm7w1Z4n4MfeHsUeLuPf0CYfYmPw2oRpBSx+51Ta4OF/CZw9b9tSRWhSaLQaxXACgjoE82K f8GUenNzxWGiNzFS6o5X+8cIoyK+DOx+/JzjunzIyI0vpoWdHcz4qnSIijlYdHHyNyiwkjNib0hLH mjDO/yndXtC+EX2rRcyR5aFvBzNE1sWdTRAiKY53yXDiOFi589TpyJ6ud2DsFIRj2jC5SSWScGZRC Sbbzu931HKntYV4GB96wjkviFxNk1g0KQXQXPSgSyUOe8JjRvQ8/1GhtbKgvIIpKym0Ta8UPNmmdH AqP9o6pw==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:55840 helo=localhost) by bh-25.webhostbox.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1dAIw9-002fxV-7I; Mon, 15 May 2017 16:33:35 +0000 From: Guenter Roeck To: Shawn Guo Subject: [PATCH] soc: imx: Select PM_GENERIC_DOMAINS only if PM is enabled Date: Mon, 15 May 2017 09:33:31 -0700 Message-Id: <1494866011-23360-1-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.7.4 X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170515_093438_304789_4D70C3E0 X-CRM114-Status: UNSURE ( 7.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrey Smirnov , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sascha Hauer , Fabio Estevam , Guenter Roeck MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Selecting PM_GENERIC_DOMAINS without PM results in the following build errors, seen when building sparc32:allmodconfig. drivers/base/power/domain.c: In function 'genpd_queue_power_off_work': drivers/base/power/domain.c:279:13: error: 'pm_wq' undeclared drivers/base/power/domain.c: In function 'genpd_dev_pm_qos_notifier': drivers/base/power/domain.c:462:25: error: 'struct dev_pm_info' has no member named 'ignore_children' drivers/base/power/domain.c: In function 'rtpm_status_str': drivers/base/power/domain.c:2207:16: error: 'struct dev_pm_info' has no member named 'runtime_error' drivers/base/power/domain.c:2209:21: error: 'struct dev_pm_info' has no member named 'disable_depth' drivers/base/power/domain.c:2211:21: error: 'struct dev_pm_info' has no member named 'runtime_status' drivers/base/power/domain.c:2212:31: error: 'struct dev_pm_info' has no member named 'runtime_status' Fixes: 03aa12629fc4 ("soc: imx: Add GPCv2 power gating driver") Cc: Andrey Smirnov Cc: Shawn Guo Signed-off-by: Guenter Roeck --- drivers/soc/imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig index 357a5d8f8da0..9c1c75f282c2 100644 --- a/drivers/soc/imx/Kconfig +++ b/drivers/soc/imx/Kconfig @@ -2,7 +2,7 @@ menu "i.MX SoC drivers" config IMX7_PM_DOMAINS bool "i.MX7 PM domains" - select PM_GENERIC_DOMAINS + select PM_GENERIC_DOMAINS if PM depends on SOC_IMX7D || (COMPILE_TEST && OF) default y if SOC_IMX7D