Skip to contentSkip to conversation

power: max8997_charger.c needs module.h

PATCH New Axel Lin 1 participant 1 message Jul 31, 2011

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 power: max8997_charger.c needs module.h

power/max8997_charger.c uses interfaces from linux/module.h, so it should include that file. This fixes build errors.

---
 drivers/power/max8997_charger.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/power/max8997_charger.c +1 -0
index 9848fb8..e12b4a2 100644
@@ -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>
Signature · 1 line
1.7.4.1