Skip to content

Commit

Permalink
[BATTERY] Every file should include the headers containing the protot…
Browse files Browse the repository at this point in the history
…ypes 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>
  • Loading branch information
Adrian Bunk authored and Anton Vorontsov committed Feb 1, 2008
1 parent aa62999 commit 25f1214
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/power/power_supply_leds.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#include <linux/power_supply.h>

#include "power_supply.h"

/* Battery specific LEDs triggers. */

static void power_supply_update_bat_leds(struct power_supply *psy)
Expand Down
2 changes: 2 additions & 0 deletions drivers/power/power_supply_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#include <linux/ctype.h>
#include <linux/power_supply.h>

#include "power_supply.h"

/*
* This is because the name "current" breaks the device attr macro.
* The "current" word resolves to "(get_current())" so instead of
Expand Down

0 comments on commit 25f1214

Please sign in to comment.