浏览代码

max8998_charger: Needs module.h

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@xenotime.net>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Randy Dunlap 14 年之前
父节点
当前提交
d555ab6bb3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/power/max8998_charger.c

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