diff options
author | Anton Vorontsov <anton@enomsg.org> | 2013-12-23 18:17:05 -0800 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-12-23 18:21:35 -0800 |
commit | 434a09f9c43ae5136774fb632440beb4f0081719 (patch) | |
tree | 2aa03db0caa4e30cea42ae7552266b1a82df992f /drivers/power | |
parent | faffd234cf85ddfe3959055bea0af2d21bc85f63 (diff) | |
download | op-kernel-dev-434a09f9c43ae5136774fb632440beb4f0081719.zip op-kernel-dev-434a09f9c43ae5136774fb632440beb4f0081719.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/charger-manager.c b/drivers/power/charger-manager.c index ec5c140..9e4dab4 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; |