aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorAnton Vorontsov <anton@enomsg.org>2013-12-23 21:17:05 -0500
committerAnton Vorontsov <anton@enomsg.org>2013-12-23 21:21:35 -0500
commit434a09f9c43ae5136774fb632440beb4f0081719 (patch)
tree2aa03db0caa4e30cea42ae7552266b1a82df992f /drivers/power
parentfaffd234cf85ddfe3959055bea0af2d21bc85f63 (diff)
charger-manager: of_cm_parse_desc() should be static
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>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/charger-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/charger-manager.c b/drivers/power/charger-manager.c
index ec5c140a52b8..9e4dab46eefd 100644
--- a/drivers/power/charger-manager.c
+++ b/drivers/power/charger-manager.c
@@ -1536,7 +1536,7 @@ static struct of_device_id charger_manager_match[] = {
1536 {}, 1536 {},
1537}; 1537};
1538 1538
1539struct charger_desc *of_cm_parse_desc(struct device *dev) 1539static struct charger_desc *of_cm_parse_desc(struct device *dev)
1540{ 1540{
1541 struct charger_desc *desc; 1541 struct charger_desc *desc;
1542 struct device_node *np = dev->of_node; 1542 struct device_node *np = dev->of_node;