Commit 25f12141 authored by Adrian Bunk's avatar Adrian Bunk Committed by Anton Vorontsov

[BATTERY] Every file should include the headers containing the prototypes for its global functions.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAnton Vorontsov <cbou@mail.ru>
parent aa629992
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
#include <linux/power_supply.h> #include <linux/power_supply.h>
#include "power_supply.h"
/* Battery specific LEDs triggers. */ /* Battery specific LEDs triggers. */
static void power_supply_update_bat_leds(struct power_supply *psy) static void power_supply_update_bat_leds(struct power_supply *psy)
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/power_supply.h> #include <linux/power_supply.h>
#include "power_supply.h"
/* /*
* This is because the name "current" breaks the device attr macro. * This is because the name "current" breaks the device attr macro.
* The "current" word resolves to "(get_current())" so instead of * The "current" word resolves to "(get_current())" so instead of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment