From patchwork Thu Oct 1 19:22:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 7310991 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 886D3BEEA4 for ; Thu, 1 Oct 2015 19:23:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A8E7B207A4 for ; Thu, 1 Oct 2015 19:23:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D410C206A2 for ; Thu, 1 Oct 2015 19:23:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756865AbbJATXd (ORCPT ); Thu, 1 Oct 2015 15:23:33 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:39822 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754146AbbJATXB (ORCPT ); Thu, 1 Oct 2015 15:23:01 -0400 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 1A9E61416D3; Thu, 1 Oct 2015 19:23:00 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id E8F351416D4; Thu, 1 Oct 2015 19:22:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from sboyd-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 813C81416D0; Thu, 1 Oct 2015 19:22:56 +0000 (UTC) From: Stephen Boyd To: Mike Turquette , Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Rob Clark , Rajendra Nayak , "Rafael J . Wysocki" , Kevin Hilman , Ulf Hansson Subject: [PATCH v2 1/2] PM / Domains: Make pm_genpd_{add, remove}_subdomain() available to modules Date: Thu, 1 Oct 2015 12:22:53 -0700 Message-Id: <1443727374-1539-2-git-send-email-sboyd@codeaurora.org> X-Mailer: git-send-email 2.6.0.1.gcfb28ad In-Reply-To: <1443727374-1539-1-git-send-email-sboyd@codeaurora.org> References: <1443727374-1539-1-git-send-email-sboyd@codeaurora.org> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Export these symbols so they can be used in loadable kernel modules. Cc: Rob Clark Cc: Rajendra Nayak Cc: Rafael J. Wysocki Cc: Kevin Hilman Cc: Ulf Hansson Signed-off-by: Stephen Boyd --- drivers/base/power/domain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index cf4950d92937..9b0f5a06a82b 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c @@ -1348,6 +1348,7 @@ int pm_genpd_add_subdomain(struct generic_pm_domain *genpd, return ret; } +EXPORT_SYMBOL_GPL(pm_genpd_add_subdomain); /** * pm_genpd_remove_subdomain - Remove a subdomain from an I/O PM domain. @@ -1395,6 +1396,7 @@ out: return ret; } +EXPORT_SYMBOL_GPL(pm_genpd_remove_subdomain); /* Default device callbacks for generic PM domains. */