linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] PM / devfreq: Export helper functions for drivers
  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
  2014-08-12 13:49   ` Hernandez, Carlos
  0 siblings, 1 reply; 5+ messages in thread
From: Punit Agrawal @ 2014-07-18 14:09 UTC (permalink / raw)
  To: linux-pm, linux-samsung-soc
  Cc: orjan.eide, linux-kernel, linux-arm-kernel, MyungJoo Ham,
	Kyungmin Park

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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] PM / devfreq: Export helper functions for drivers
@ 2014-07-20 23:28 함명주
  2014-07-21 17:35 ` Punit Agrawal
  0 siblings, 1 reply; 5+ messages in thread
From: 함명주 @ 2014-07-20 23:28 UTC (permalink / raw)
  To: Punit Agrawal, 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, 박경민



Sender : Punit Agrawal<punit.agrawal@arm.com>
> From: Ørjan Eide 
>
> These functions are indended for use by drivers and should be available
> also when the driver is built as a module.
>
> Cc: MyungJoo Ham 
> Cc: Kyungmin Park 
> Signed-off-by: Ørjan Eide 

Dear Punit,


Just being curious, is there any reason not to use EXPORT_SYMBOL_GPL ?


Cheers,
MyungJoo.

--
MyungJoo Ham (함명주), PHD
Frontier CS Lab, Software Center
Samsung Electronics
Cell: +82-10-6714-2858

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] PM / devfreq: Export helper functions for drivers
  2014-07-20 23:28 [PATCH 1/2] PM / devfreq: Export helper functions for drivers 함명주
@ 2014-07-21 17:35 ` Punit Agrawal
  0 siblings, 0 replies; 5+ messages in thread
From: Punit Agrawal @ 2014-07-21 17:35 UTC (permalink / raw)
  To: myungjoo.ham
  Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
	orjan.eide@arm.com, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, 박경민

함명주 <myungjoo.ham@samsung.com> writes:

> Sender : Punit Agrawal<punit.agrawal@arm.com>
>> From: Ørjan Eide 
>>
>> These functions are indended for use by drivers and should be available
>> also when the driver is built as a module.
>>
>> Cc: MyungJoo Ham 
>> Cc: Kyungmin Park 
>> Signed-off-by: Ørjan Eide 
>
> Dear Punit,

Hi MyungJoo,

>
>
> Just being curious, is there any reason not to use EXPORT_SYMBOL_GPL ?

No reason other than to match the existing EXPORT_SYMBOLs in this file.

Would you prefer this and the following patch to use EXPORT_SYMBOL_GPL
instead?

>
>
> Cheers,
> MyungJoo.
>
> --
> MyungJoo Ham (함명주), PHD
> Frontier CS Lab, Software Center
> Samsung Electronics
> Cell: +82-10-6714-2858--
> To unsubscribe from this list: send the line "unsubscribe linux-pm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH 1/2] PM / devfreq: Export helper functions for drivers
  2014-07-18 14:09 ` [PATCH 1/2] PM / devfreq: Export helper functions for drivers Punit Agrawal
@ 2014-08-12 13:49   ` Hernandez, Carlos
  0 siblings, 0 replies; 5+ messages in thread
From: Hernandez, Carlos @ 2014-08-12 13:49 UTC (permalink / raw)
  To: Punit Agrawal, 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, Kyungmin Park

Acked-By: Carlos Hernandez <ceh@ti.com>

-----Original Message-----
From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Punit Agrawal
Sent: Friday, July 18, 2014 10:10 AM
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; Kyungmin Park
Subject: [PATCH 1/2] PM / devfreq: Export helper functions for drivers

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] PM / devfreq: Export helper functions for drivers
  2014-08-12 23:37 함명주
@ 2014-08-18 13:15 ` Punit Agrawal
  0 siblings, 0 replies; 5+ messages in thread
From: Punit Agrawal @ 2014-08-18 13:15 UTC (permalink / raw)
  To: myungjoo.ham
  Cc: Hernandez, Carlos, linux-pm@vger.kernel.org,
	linux-samsung-soc@vger.kernel.org, orjan.eide@arm.com,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, 박경민

함명주 <myungjoo.ham@samsung.com> writes:

>> ------- Original Message -------
>> Sender : Hernandez, Carlos<ceh@ti.com>
>> Date : 2014-08-12 22:49 (GMT+09:00)
>> Title : RE: [PATCH 1/2] PM / devfreq: Export helper functions for drivers
>> 
>> Acked-By: Carlos Hernandez 
>> 
>> -----Original Message-----
>> From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Punit Agrawal
>> Sent: Friday, July 18, 2014 10:10 AM
>> 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; Kyungmin Park
>> Subject: [PATCH 1/2] PM / devfreq: Export helper functions for drivers
>> 
>> From: Ørjan Eide 
>> 
>> These functions are indended for use by drivers and should be available also when the driver is built as a module.> 
>> 
>> Cc: MyungJoo Ham 
>> Cc: Kyungmin Park 
>> Signed-off-by: Ørjan Eide 
>
> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
>
> There will be some modifications to this patch for consistency with
> other pending patches, but please don't worry about them. I'll handle
> them while merging this.

Great! Thanks MyungJoo.

>
>
> Cheers,
> MyungJoo.
>
>> ---
>> drivers/devfreq/devfreq.c |    3 +++
>> 1 file changed, 3 insertions(+)
>
>
>
> --
> MyungJoo Ham (함명주), PHD
> Frontier CS Lab, Software Center
> Samsung Electronics
> Cell: +82-10-6714-2858--
> To unsubscribe from this list: send the line "unsubscribe linux-pm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-18 13:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-20 23:28 [PATCH 1/2] PM / devfreq: Export helper functions for drivers 함명주
2014-07-21 17:35 ` Punit Agrawal
  -- strict thread matches above, loose matches on Subject: below --
2014-08-12 23:37 함명주
2014-08-18 13:15 ` Punit Agrawal
2014-07-18 14:09 [PATCH 0/2] Convert exynos PPMU driver to be built as module Punit Agrawal
2014-07-18 14:09 ` [PATCH 1/2] PM / devfreq: Export helper functions for drivers Punit Agrawal
2014-08-12 13:49   ` Hernandez, Carlos

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).