power: qos: Export pm_qos_update_request_timeout()
Subsystems (2)
PATCH 1/1 power: qos: Export pm_qos_update_request_timeout()
Add EXPORT_SYMBOL_GPL to pm_qos_update_request_timeout, so that it can be usable from modules similar to the pm_qos_update_request().
--- kernel/power/qos.c | 1 + 1 file changed, 1 insertion(+)
kernel/power/qos.c +1 -0
@@ -515,6 +515,7 @@ void pm_qos_update_request_timeout(struct pm_qos_request *req, s32 new_value,schedule_delayed_work (&req->work,usecs_to_jiffies (timeout_us)); } +EXPORT_SYMBOL_GPL (pm_qos_update_request_timeout);/** * pm_qos_remove_request - modifies an existing qos request
Signature · 1 line
1.9.1
Rafael J. Wysocki
maintainerQuoted 5 lines · Hareesh Gundu
Add
EXPORT_SYMBOL_GPLtopm_qos_update_request_timeout, so that it can be usable from modules similar to thepm_qos_update_request().Signed-off-by Hareesh Gundu <[email protected]>
I'd rather see a modular user of this along with the export.
Quoted 19 lines
--- kernel/power/qos.c | 1 + 1 file changed, 1 insertion(+)kernel/power/qos.c +1
-1@@ -515,6 +515,7 @@ void pm_qos_update_request_timeout(struct pm_qos_request *req, s32 new_value,schedule_delayed_work (&req->work,usecs_to_jiffies (timeout_us)); } +EXPORT_SYMBOL_GPL (pm_qos_update_request_timeout);/** * pm_qos_remove_request - modifies an existing qos request -- 1.9.1
Quoted 6 lines · Rafael J. Wysocki
Quoted 5 lines · Hareesh Gundu
Add
EXPORT_SYMBOL_GPLtopm_qos_update_request_timeout, so that it can be usable from modules similar to thepm_qos_update_request().Signed-off-by Hareesh Gundu <[email protected]>
There is no in-tree kernel module using it. It's required for modules built out-tree kernel. Does it really required show out tree kernel module uses this symbol ?
Quoted 21 lines
I'd rather see a modular user of this along with the export.
Quoted 19 lines
--- kernel/power/qos.c | 1 + 1 file changed, 1 insertion(+)kernel/power/qos.c +1
-1@@ -515,6 +515,7 @@ void pm_qos_update_request_timeout(struct pm_qos_request *req, s32 new_value,schedule_delayed_work (&req->work,usecs_to_jiffies (timeout_us)); } +EXPORT_SYMBOL_GPL (pm_qos_update_request_timeout);/** * pm_qos_remove_request - modifies an existing qos request -- 1.9.1
Rafael J. Wysocki
maintainerQuoted 10 lines · Hareesh Gundu
Quoted 8 lines · Rafael J. Wysocki
Quoted 5 lines · Hareesh Gundu
Add
EXPORT_SYMBOL_GPLtopm_qos_update_request_timeout, so that it can be usable from modules similar to thepm_qos_update_request().
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Signed-off-by Hareesh Gundu <[email protected]>There is no in-tree kernel module using it. It's required for modules built out-tree kernel.
Does it really required show out tree kernel module uses this symbol ?
If the module is out of the tree, the patch can be out of the tree too, unless there is a very good reason for it to be in the tree.
So, what is that reason?