aboutsummaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorAnton Vorontsov <anton@enomsg.org>2013-12-23 18:17:05 -0800
committerAnton Vorontsov <anton@enomsg.org>2013-12-23 18:21:35 -0800
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 ec5c140a52b..9e4dab46eef 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[] = {
{},
};
-struct charger_desc *of_cm_parse_desc(struct device *dev)
+static struct charger_desc *of_cm_parse_desc(struct device *dev)
{
struct charger_desc *desc;
struct device_node *np = dev->of_node;