[BATTERY] Every file should include the headers containing the prototypes for its...
authorAdrian Bunk <bunk@kernel.org>
Sun, 25 Nov 2007 21:25:45 +0000 (00:25 +0300)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 1 Feb 2008 23:42:58 +0000 (02:42 +0300)
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>
drivers/power/power_supply_leds.c
drivers/power/power_supply_sysfs.c

index 7f8f3590b02e6934e6066e5d63bb40a6f7440af9..80ca28840b1aeec43c4b530b0c99ac17aadd0a99 100644 (file)
@@ -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)
index 249f61bae6396105b2466739c504dd2b6557b775..e8ad1fd0f09fd3d1b9dc8ef7dbf7b0f948cd47b2 100644 (file)
@@ -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