[BATTERY] Every file should include the headers containing the prototypes for its global functions.
Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Anton Vorontsov <cbou@mail.ru>
This commit is contained in:
parent
aa62999269
commit
25f12141e2
@ -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 @@
|
|||||||
#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
|
||||||
|
Loading…
Reference in New Issue
Block a user