From patchwork Wed Nov 28 01:57:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: MyungJoo Ham X-Patchwork-Id: 1813491 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 107FB3FCF6 for ; Wed, 28 Nov 2012 01:57:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750936Ab2K1B50 (ORCPT ); Tue, 27 Nov 2012 20:57:26 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:60278 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750896Ab2K1B5Z (ORCPT ); Tue, 27 Nov 2012 20:57:25 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0ME600AFCDFG8VA0@mailout4.samsung.com> for linux-pm@vger.kernel.org; Wed, 28 Nov 2012 10:57:23 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.43]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6B.D7.01231.38F65B05; Wed, 28 Nov 2012 10:57:23 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-10-50b56f836dbd Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 2B.D7.01231.38F65B05; Wed, 28 Nov 2012 10:57:23 +0900 (KST) Received: from localhost.localdomain ([10.90.51.65]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0ME6009I4DFLZG50@mmp1.samsung.com> for linux-pm@vger.kernel.org; Wed, 28 Nov 2012 10:57:23 +0900 (KST) From: MyungJoo Ham To: rjw@sisk.pl Cc: myungjoo.ham@gmail.com, linux-pm@vger.kernel.org, nm@ti.com Subject: [PATCH] PM / devfreq: remove compiler error with module governors (2) Date: Wed, 28 Nov 2012 10:57:21 +0900 Message-id: <1354067841-4936-1-git-send-email-myungjoo.ham@samsung.com> X-Mailer: git-send-email 1.7.5.4 In-reply-to: <2278739.ton8Zzmpxv@vostro.rjw.lan> References: <2278739.ton8Zzmpxv@vostro.rjw.lan> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJLMWRmVeSWpSXmKPExsVy+t8zbd3m/K0BBnd3Klh87j3C6MDo8XmT XABjFJdNSmpOZllqkb5dAlfG9GmeBaf5Km68021g3MLTxcjBISFgInG0M76LkRPIFJO4cG89 WxcjF4eQwDJGiXdHWxghEiYSlx99YIdILGKUeNnVCuUsZJKY8weiik1AV2LrhrssILaIAL/E tnlHWUFsZgF7iTNPp7CB2MICfhJfpjwCq2ERUJVo3L6EGcTmFXCXuDFzGivENgWJX0dWgdmc AgYSf378AesVEtCXuLr1IztEr4DEt8mHWCA+kJXYdIAZ5B4JgctsEtcabrNAzJGUOLjiBssE RuEFjAyrGEVTC5ILipPScw31ihNzi0vz0vWS83M3MULCT2oH48oGi0OMAhyMSjy8Do5bA4RY E8uKK3MPMUpwMCuJ8KZFAoV4UxIrq1KL8uOLSnNSiw8x+gBdMpFZSjQ5HxgbeSXxhsYGxoaG loZmppamBjiElcR5mz1SAoQE0hNLUrNTUwtSi2DGMXFwSjUw1u+Y4eO0oa7vc5vTE09f48Pz nt+rCIzW5Zu1pM3wxs/f4ZN3CBe0bJd6ovb5VuhMffXahaz5B89ft9t44PRLlf2rzvwt+bRl Mt+yo44ZX9rip7b4nv/W+jOUk1n2k8hsOdVJ6zNWCl6Um2/kyNR0Tddvx0pH9yl+ThHL99yy lzjCc4hRRzdwuxJLcUaioRZzUXEiACyFDnRsAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkkeLIzCtJLcpLzFFi42I5/e+xgG5z/tYAg4X3pC0+9x5hdGD0+LxJ LoAxqoHRJiM1MSW1SCE1Lzk/JTMv3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwdo qpJCWWJOKVAoILG4WEnfDtOE0BA3XQuYxghd35AguB4jAzSQsI4xY/o0z4LTfBU33uk2MG7h 6WLk5JAQMJG4/OgDO4QtJnHh3nq2LkYuDiGBRYwSL7ta2SGchUwSc/60MIJUsQnoSmzdcJcF xBYR4JfYNu8oK4jNLGAvcebpFDYQW1jAT+LLlEdgNSwCqhKN25cwg9i8Au4SN2ZOY4XYpiDx 68gqMJtTwEDiz48/YL1CAvoSV7d+ZJ/AyLuAkWEVo2hqQXJBcVJ6rqFecWJucWleul5yfu4m RnB4P5PawbiyweIQowAHoxIPr4Pj1gAh1sSy4srcQ4wSHMxKIrxpkUAh3pTEyqrUovz4otKc 1OJDjD5AV01klhJNzgfGXl5JvKGxiZmRpZGZsYm5sTEOYSVx3maPlAAhgfTEktTs1NSC1CKY cUwcnFINjBP7+33zous7zr7RCrnUtkwsWHvLqum3k0uWLWmKsK1v8rEP+R5+b9LLHcs31BnI v5PjjP1g4rfnV43HpB1es9o3sB3X3jNxsdbRisOHb+3eVMCxZgZX2cn49tpF5Xb3vvbOeuhg cm1dGZ8mi3H/m01fT6/N+sKmecrkIOfqbKnrrivEeW55XFFiKc5INNRiLipOBAD7vAdknAIA AA== X-CFilter-Loop: Reflected Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Governors compiled as modules may use these functions. Signed-off-by: MyungJoo Ham --- This patch is also locataed at git.kernel.org/pub/scm/linux/kernel/git/mzx/devfreq for-rafael tags/pull_req_20121128 drivers/devfreq/devfreq.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index 34c00c5..a8f0173 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c @@ -235,6 +235,7 @@ void devfreq_monitor_start(struct devfreq *devfreq) queue_delayed_work(devfreq_wq, &devfreq->work, msecs_to_jiffies(devfreq->profile->polling_ms)); } +EXPORT_SYMBOL(devfreq_monitor_start); /** * devfreq_monitor_stop() - Stop load monitoring of a devfreq instance @@ -248,6 +249,7 @@ void devfreq_monitor_stop(struct devfreq *devfreq) { cancel_delayed_work_sync(&devfreq->work); } +EXPORT_SYMBOL(devfreq_monitor_stop); /** * devfreq_monitor_suspend() - Suspend load monitoring of a devfreq instance @@ -273,6 +275,7 @@ void devfreq_monitor_suspend(struct devfreq *devfreq) mutex_unlock(&devfreq->lock); cancel_delayed_work_sync(&devfreq->work); } +EXPORT_SYMBOL(devfreq_monitor_suspend); /** * devfreq_monitor_resume() - Resume load monitoring of a devfreq instance @@ -297,6 +300,7 @@ void devfreq_monitor_resume(struct devfreq *devfreq) out: mutex_unlock(&devfreq->lock); } +EXPORT_SYMBOL(devfreq_monitor_resume); /** * devfreq_interval_update() - Update device devfreq monitoring interval @@ -343,6 +347,7 @@ void devfreq_interval_update(struct devfreq *devfreq, unsigned int *delay) out: mutex_unlock(&devfreq->lock); } +EXPORT_SYMBOL(devfreq_interval_update); /** * devfreq_notifier_call() - Notify that the device frequency requirements