Browse Source

max8998_charger: Needs module.h

power/max8998_charger.c uses interfaces from linux/module.h,
so it should include that file.  This fixes build errors.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Randy Dunlap 14 years ago
parent
commit
d555ab6bb3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/power/max8998_charger.c

+ 1 - 0
drivers/power/max8998_charger.c

@@ -20,6 +20,7 @@
  */
 
 #include <linux/err.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/platform_device.h>
 #include <linux/power_supply.h>