浏览代码

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 <axel.lin@gmail.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Axel Lin 14 年之前
父节点
当前提交
71aa79a8c2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/power/max8997_charger.c

+ 1 - 0
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>