public inbox for linux-arm-kernel@lists.infradead.org 
 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; 4+ messages in thread
From: Punit Agrawal @ 2014-07-18 14:09 UTC (permalink / raw)
  To: linux-arm-kernel

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] 4+ messages in thread

* [PATCH 1/2] PM / devfreq: Export helper functions for drivers
       [not found] <32148397.172891405898897186.JavaMail.weblogic@epml01>
@ 2014-07-21 17:35 ` Punit Agrawal
  0 siblings, 0 replies; 4+ messages in thread
From: Punit Agrawal @ 2014-07-21 17:35 UTC (permalink / raw)
  To: linux-arm-kernel

??? <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 at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [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; 4+ messages in thread
From: Hernandez, Carlos @ 2014-08-12 13:49 UTC (permalink / raw)
  To: linux-arm-kernel

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

-----Original Message-----
From: linux-kernel-owner@vger•kernel.org [mailto:linux-kernel-owner at vger.kernel.org] On Behalf Of Punit Agrawal
Sent: Friday, July 18, 2014 10:10 AM
To: linux-pm at vger.kernel.org; linux-samsung-soc at vger.kernel.org
Cc: orjan.eide at arm.com; linux-kernel at vger.kernel.org; linux-arm-kernel at 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 at 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] 4+ messages in thread

* [PATCH 1/2] PM / devfreq: Export helper functions for drivers
       [not found] <2126088679.390471407886644188.JavaMail.weblogic@epmlwas02a>
@ 2014-08-18 13:15 ` Punit Agrawal
  0 siblings, 0 replies; 4+ messages in thread
From: Punit Agrawal @ 2014-08-18 13:15 UTC (permalink / raw)
  To: linux-arm-kernel

??? <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 at vger.kernel.org [mailto:linux-kernel-owner at vger.kernel.org] On Behalf Of Punit Agrawal
>> Sent: Friday, July 18, 2014 10:10 AM
>> To: linux-pm at vger.kernel.org; linux-samsung-soc at vger.kernel.org
>> Cc: orjan.eide at arm.com; linux-kernel at vger.kernel.org; linux-arm-kernel at 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 at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <2126088679.390471407886644188.JavaMail.weblogic@epmlwas02a>
2014-08-18 13:15 ` [PATCH 1/2] PM / devfreq: Export helper functions for drivers Punit Agrawal
     [not found] <32148397.172891405898897186.JavaMail.weblogic@epml01>
2014-07-21 17:35 ` 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