From patchwork Fri Dec 4 23:40:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 7773201 Return-Path: X-Original-To: patchwork-alsa-devel@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 A4DBABEEE1 for ; Fri, 4 Dec 2015 23:44:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E3069205C7 for ; Fri, 4 Dec 2015 23:44:38 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 9CD832045E for ; Fri, 4 Dec 2015 23:44:37 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 98B6D26686E; Sat, 5 Dec 2015 00:44:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 08DF92659D7; Sat, 5 Dec 2015 00:41:24 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id EA8DD2659E2; Sat, 5 Dec 2015 00:41:22 +0100 (CET) Received: from mail-qg0-f50.google.com (mail-qg0-f50.google.com [209.85.192.50]) by alsa0.perex.cz (Postfix) with ESMTP id 7BBE626533B for ; Sat, 5 Dec 2015 00:41:06 +0100 (CET) Received: by qgcc31 with SMTP id c31so101292921qgc.3 for ; Fri, 04 Dec 2015 15:41:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kJ7NQThUUK2QQOnzmhFwGtMpApU3DvKdo1AhmLNRU8s=; b=vGnaTboe5zTFn/nUOvXNY0fbK7W/s2Oy9Kv72MxN80z8/S3w+d4X+E2qbf5M/YrgH7 91LZP50bv39H+5BlsKHbuoOJkCTR0+r4YgdkfoO8pRcpuG2ADelRla9gVfO7LhlxOTVc uBrSMf437RU4OXB6fdnIH2rYDlqkrMO+dnFQs6+JD7I01PEPKkZYo66QeenaPKumjQqd 3J/jiSC9XYgTn36L3N/ulQnr3Djrpmu73olKHNRqbRcdq+0rKNVqyMUg5jPPoNceRAPP aoEnQ2f/DNBOp1Hc5lWWMEm1K2ucFRGgAuI+/boyjEhVjM0lOyHIGETk71llXR21M5D9 5IJQ== X-Received: by 10.140.85.50 with SMTP id m47mr22314143qgd.87.1449272465893; Fri, 04 Dec 2015 15:41:05 -0800 (PST) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by smtp.gmail.com with ESMTPSA id e127sm5556698qkb.34.2015.12.04.15.41.04 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Dec 2015 15:41:05 -0800 (PST) From: Alex Deucher X-Google-Original-From: Alex Deucher To: broonie@kernel.org, airlied@gmail.com, dri-devel@lists.freedesktop.org, alsa-devel@alsa-project.org, maruthi.bayyavarapu@amd.com, rajeevkumar.linux@gmail.com Date: Fri, 4 Dec 2015 18:40:34 -0500 Message-Id: <1449272440-8735-7-git-send-email-alexander.deucher@amd.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1449272440-8735-1-git-send-email-alexander.deucher@amd.com> References: <1449272440-8735-1-git-send-email-alexander.deucher@amd.com> Cc: tiwai@suse.de, Alex Deucher , Maruthi Srinivas Bayyavarapu , lgirdwood@gmail.com Subject: [alsa-devel] [PATCH 06/13] PM / Domains: export symbols to add/remove devices from genpd X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Maruthi Srinivas Bayyavarapu Drivers which can be built as loadable module needs symbols - pm_genpd_add_device/pm_genpd_remove_device to add/remove devices to/from genpd. Those drivers create platform devices, which comes under a powerdomain. Signed-off-by: Maruthi Bayyavarapu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- 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 e03b1ad..8fe6e70 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c @@ -1252,6 +1252,7 @@ int __pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev, return ret; } +EXPORT_SYMBOL_GPL(__pm_genpd_add_device); /** * pm_genpd_remove_device - Remove a device from an I/O PM domain. @@ -1302,6 +1303,7 @@ int pm_genpd_remove_device(struct generic_pm_domain *genpd, return ret; } +EXPORT_SYMBOL_GPL(pm_genpd_remove_device); /** * pm_genpd_add_subdomain - Add a subdomain to an I/O PM domain.