]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
max8998_charger: Needs module.h
authorRandy Dunlap <rdunlap@xenotime.net>
Sat, 30 Jul 2011 04:11:43 +0000 (21:11 -0700)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 19 Aug 2011 16:56:58 +0000 (20:56 +0400)
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>
drivers/power/max8998_charger.c

index cc21fa2120be241e18f49de15805280fde97d077..ef8efadb58cb1778306e3b977dffc2b585b5c42e 100644 (file)
@@ -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>