[PATCH -next] power: max8998_charger.c needs module.h

From: Randy Dunlap
Date: Sat Jul 30 2011 - 00:15:24 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

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@xxxxxxxxxxxx>
---
drivers/power/max8998_charger.c | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20110729.orig/drivers/power/max8998_charger.c
+++ linux-next-20110729/drivers/power/max8998_charger.c
@@ -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>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/