浏览代码

mfd: fix build failures in recently added ab5500 code

These files had implicit dependencies on modular support
which now show up as build failures with the module cleanup
work merged to mainline.

Reported-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker 13 年之前
父节点
当前提交
3b8ce3aed9
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      drivers/mfd/ab5500-core.c
  2. 1 0
      drivers/mfd/ab5500-debugfs.c

+ 1 - 0
drivers/mfd/ab5500-core.c

@@ -13,6 +13,7 @@
  * TODO: Event handling with irq_chip. Waiting for PRCMU fw support.
  * TODO: Event handling with irq_chip. Waiting for PRCMU fw support.
  */
  */
 
 
+#include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/mutex.h>
 #include <linux/err.h>
 #include <linux/err.h>
 #include <linux/platform_device.h>
 #include <linux/platform_device.h>

+ 1 - 0
drivers/mfd/ab5500-debugfs.c

@@ -4,6 +4,7 @@
  * Debugfs support for the AB5500 MFD driver
  * Debugfs support for the AB5500 MFD driver
  */
  */
 
 
+#include <linux/export.h>
 #include <linux/debugfs.h>
 #include <linux/debugfs.h>
 #include <linux/seq_file.h>
 #include <linux/seq_file.h>
 #include <linux/mfd/ab5500/ab5500.h>
 #include <linux/mfd/ab5500/ab5500.h>