提交 25f12141 编写于 作者: A Adrian Bunk 提交者: Anton Vorontsov

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

Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NAnton Vorontsov <cbou@mail.ru>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册