From patchwork Fri Jun 30 16:06:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 106746 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2521581qge; Fri, 30 Jun 2017 09:08:36 -0700 (PDT) X-Received: by 10.84.140.107 with SMTP id 98mr25560387pls.97.1498838916838; Fri, 30 Jun 2017 09:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498838916; cv=none; d=google.com; s=arc-20160816; b=HhWIr7fWlk/o7S44/cgNLu5dCxvqgsaHWaqYHIwEhcF7u1Mp/xE7ouPMge1EEExssR 1KJdcGkUMlFpdtJ3VQFox8BnWYDCV7idpu5qPjE9YIF4nukIGkcN8vHSpa9AECK4hGt2 GaETzfaLDZfpSa6xxEbdy6QkDnfCinhJjIbJKyl7Fwj5LKPnwlfgi7X2p7kA2iLx2j0I XlvfOaMwfh/iQTWmRA5tyPpLgbEOKqRKfG00qM/HsL7vPz2DC/v9W7Hj8CYgJV8qp/xZ eZxsHFJ0aIGZWpolHFZkLBMDsmmTLq2sbQF8+4jAKOdE2TMCypFOQ2FXaXndBMyXRfZd ZoFA== 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 :arc-authentication-results; bh=fuEcqHWQA0srRFlqxAxHYtHXkGRbmZbF9N6ZcX8+OWQ=; b=htbFgyZBo3iGd27+NLHKrLgqbFteUOBOg+mLeSTqal2LB1oWVhfQvkZBkCxkjh/WhF yebI30XQ/7rWRaO+CEiG3O+qQ7wRohoDyT0Cp+Wb4OtPb0bbdqdCtIr6nrylaTiQ7eCO H/dYloRVTlBLNosGqnVGSsl9bQ7JkkN9GaElRhHYpNdCXf9F1TgIML9hTXd2me8Ue9d7 7QORszW2a27FpVd4spDw1GtOiKA+UNxKg/pBepYxL/gqcI4zhhR4eJpYShlKcVnu5fQ7 1nifCrbJ6lGjDZY9A0c4V2BTNYAulNjyIz0tlJ2pd5l/gEEoffIC8SQnz1CuntIObPlD 5+3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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 v21si5992269pfi.87.2017.06.30.09.08.36; Fri, 30 Jun 2017 09:08:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751560AbdF3QIf (ORCPT + 14 others); Fri, 30 Jun 2017 12:08:35 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:59278 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751072AbdF3QIe (ORCPT ); Fri, 30 Jun 2017 12:08:34 -0400 Received: from wuerfel.lan ([5.56.224.194]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.129]) with ESMTPA (Nemesis) id 0Ll1ub-1dzTnz2AE9-00aowz; Fri, 30 Jun 2017 18:08:18 +0200 From: Arnd Bergmann To: "Rafael J. Wysocki" Cc: Arnd Bergmann , Kevin Hilman , Ulf Hansson , Len Brown , Pavel Machek , Greg Kroah-Hartman , Jon Hunter , Lina Iyer , Krzysztof Kozlowski , Mikko Perttunen , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] PM / Domains: provide pm_genpd_poweroff_noirq stub Date: Fri, 30 Jun 2017 18:06:57 +0200 Message-Id: <20170630160816.4153006-1-arnd@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pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org When CONFIG_PM_SLEEP is disabled, we don't have a pm_genpd_poweroff_noirq function definition: drivers/base/power/domain.c: In function 'pm_genpd_init': drivers/base/power/domain.c:1549:37: error: 'pm_genpd_poweroff_noirq' undeclared (first use in this function); did you mean 'genpd_power_off_unused'? This adds another NULL definition for it, just like we already have for the other _noirq handlers. Fixes: 10da65423fdb ("PM / Domains: Call driver's noirq callbacks") Signed-off-by: Arnd Bergmann --- drivers/base/power/domain.c | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index ac1ff052653f..a380d9d61335 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c @@ -1158,6 +1158,7 @@ EXPORT_SYMBOL_GPL(pm_genpd_syscore_poweron); #define pm_genpd_resume_noirq NULL #define pm_genpd_freeze_noirq NULL #define pm_genpd_thaw_noirq NULL +#define pm_genpd_poweroff_noirq NULL #define pm_genpd_restore_noirq NULL #define pm_genpd_complete NULL