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

From: Axel Lin
Date: Sun Jul 31 2011 - 19:29:46 EST


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@xxxxxxxxx>
---
drivers/power/max8997_charger.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/power/max8997_charger.c b/drivers/power/max8997_charger.c
index 9848fb8..e12b4a2 100644
--- a/drivers/power/max8997_charger.c
+++ b/drivers/power/max8997_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>
--
1.7.4.1



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