diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-11-25 16:25:45 -0500 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2008-02-01 18:42:58 -0500 |
commit | 25f12141e2be96e904239d963e25818b8854e72f (patch) | |
tree | f344a91eb1add49319b75796e511e72cb5a92b50 /drivers/power/power_supply_sysfs.c | |
parent | aa6299926950c8dfe2fea638276cad6def092bc9 (diff) |
[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>
Diffstat (limited to 'drivers/power/power_supply_sysfs.c')
-rw-r--r-- | drivers/power/power_supply_sysfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c index 249f61bae639..e8ad1fd0f09f 100644 --- a/drivers/power/power_supply_sysfs.c +++ b/drivers/power/power_supply_sysfs.c | |||
@@ -14,6 +14,8 @@ | |||
14 | #include <linux/ctype.h> | 14 | #include <linux/ctype.h> |
15 | #include <linux/power_supply.h> | 15 | #include <linux/power_supply.h> |
16 | 16 | ||
17 | #include "power_supply.h" | ||
18 | |||
17 | /* | 19 | /* |
18 | * This is because the name "current" breaks the device attr macro. | 20 | * This is because the name "current" breaks the device attr macro. |
19 | * The "current" word resolves to "(get_current())" so instead of | 21 | * The "current" word resolves to "(get_current())" so instead of |