From: Punit Agrawal <punit.agrawal@arm.com>
To: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org
Cc: orjan.eide@arm.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
MyungJoo Ham <myungjoo.ham@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>
Subject: [PATCH 1/2] PM / devfreq: Export helper functions for drivers
Date: Fri, 18 Jul 2014 15:09:53 +0100 [thread overview]
Message-ID: <1405692594-19352-2-git-send-email-punit.agrawal@arm.com> (raw)
In-Reply-To: <1405692594-19352-1-git-send-email-punit.agrawal@arm.com>
From: Ørjan Eide <orjan.eide@arm.com>
These functions are indended for use by drivers and should be available
also when the driver is built as a module.
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Ørjan Eide <orjan.eide@arm.com>
---
drivers/devfreq/devfreq.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c
index 9f90369..30b538d8 100644
--- a/drivers/devfreq/devfreq.c
+++ b/drivers/devfreq/devfreq.c
@@ -1119,6 +1119,7 @@ struct dev_pm_opp *devfreq_recommended_opp(struct device *dev,
return opp;
}
+EXPORT_SYMBOL(devfreq_recommended_opp);
/**
* devfreq_register_opp_notifier() - Helper function to get devfreq notified
@@ -1142,6 +1143,7 @@ int devfreq_register_opp_notifier(struct device *dev, struct devfreq *devfreq)
return ret;
}
+EXPORT_SYMBOL(devfreq_register_opp_notifier);
/**
* devfreq_unregister_opp_notifier() - Helper function to stop getting devfreq
@@ -1168,6 +1170,7 @@ int devfreq_unregister_opp_notifier(struct device *dev, struct devfreq *devfreq)
return ret;
}
+EXPORT_SYMBOL(devfreq_unregister_opp_notifier);
static void devm_devfreq_opp_release(struct device *dev, void *res)
{
--
1.7.10.4
next prev parent reply other threads:[~2014-07-18 14:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-18 14:09 [PATCH 0/2] Convert exynos PPMU driver to be built as module Punit Agrawal
2014-07-18 14:09 ` Punit Agrawal [this message]
2014-08-12 13:49 ` [PATCH 1/2] PM / devfreq: Export helper functions for drivers Hernandez, Carlos
2014-07-18 14:09 ` [PATCH 2/2] PM / devfreq: exynos: Enable building exynos PPMU as module Punit Agrawal
2014-08-06 13:41 ` [PATCH 0/2] Convert exynos PPMU driver to be built " Punit Agrawal
-- strict thread matches above, loose matches on Subject: below --
2014-07-20 23:28 [PATCH 1/2] PM / devfreq: Export helper functions for drivers 함명주
2014-07-21 17:35 ` Punit Agrawal
2014-08-12 23:37 함명주
2014-08-18 13:15 ` Punit Agrawal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1405692594-19352-2-git-send-email-punit.agrawal@arm.com \
--to=punit.agrawal@arm.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=myungjoo.ham@samsung.com \
--cc=orjan.eide@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).