Skip to content

Commit

Permalink
max8998_charger: Needs module.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Anton Vorontsov committed Aug 19, 2011
1 parent 93ee7a9 commit d555ab6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/power/max8998_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit d555ab6

Please sign in to comment.