max8997_charger: Needs module.h
authorAxel Lin <axel.lin@gmail.com>
Sun, 31 Jul 2011 23:29:31 +0000 (07:29 +0800)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 19 Aug 2011 17:01:41 +0000 (21:01 +0400)
power/max8997_charger.c uses interfaces from linux/module.h,
so it should include that file.  This fixes build errors.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/max8997_charger.c

index 7106b49b26e492dbea1bbdd888e46c95844ad0ed..ffc5033ea9c92fcbad8957cad81674a376cb1909 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>