projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faffd23
)
charger-manager: of_cm_parse_desc() should be static
author
Anton Vorontsov
<anton@enomsg.org>
Tue, 24 Dec 2013 02:17:05 +0000
(18:17 -0800)
committer
Anton Vorontsov
<anton@enomsg.org>
Tue, 24 Dec 2013 02:21:35 +0000
(18:21 -0800)
Fixes the following warning:
drivers/power/charger-manager.c:1539:21: warning: symbol
'of_cm_parse_desc' was not declared. Should it be static?
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/charger-manager.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/charger-manager.c
b/drivers/power/charger-manager.c
index ec5c140a52b8771c17afcc3b37bc5ba70bc18455..9e4dab46eefd52d87c044ca9a8141da7309088d1 100644
(file)
--- a/
drivers/power/charger-manager.c
+++ b/
drivers/power/charger-manager.c
@@
-1536,7
+1536,7
@@
static struct of_device_id charger_manager_match[] = {
{},
};
-struct charger_desc *of_cm_parse_desc(struct device *dev)
+st
atic st
ruct charger_desc *of_cm_parse_desc(struct device *dev)
{
struct charger_desc *desc;
struct device_node *np = dev->of_node;