Commit d555ab6bb321814853ca8a8d4e8e22d52e18a871

Authored by Randy Dunlap
Committed by Anton Vorontsov
1 parent 93ee7a9340

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/power/max8998_charger.c
... ... @@ -20,6 +20,7 @@
20 20 */
21 21  
22 22 #include <linux/err.h>
  23 +#include <linux/module.h>
23 24 #include <linux/slab.h>
24 25 #include <linux/platform_device.h>
25 26 #include <linux/power_supply.h>