max8997_charger: Needs module.h

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 <[email protected]>
Acked-by: MyungJoo Ham <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
This commit is contained in:
Axel Lin 2011-08-01 07:29:31 +08:00 • committed by Anton Vorontsov
commit 71aa79a8c2

View 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>