mfd: fix build failures in recently added ab5500 code
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 7 Nov 2011 16:17:04 +0000 (11:17 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 8 Nov 2011 02:45:14 +0000 (21:45 -0500)
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>
drivers/mfd/ab5500-core.c
drivers/mfd/ab5500-debugfs.c

index 4175544b491b51917c0c309194ba82de67327ec1..ec10629a0b0b151b5235432dc08bb238f4783b22 100644 (file)
@@ -13,6 +13,7 @@
  * TODO: Event handling with irq_chip. Waiting for PRCMU fw support.
  */
 
+#include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/err.h>
 #include <linux/platform_device.h>
index 6be1fe6b5f9ac70c8ef31df1a3d546a3dc695707..43c0ebb81956188b22f7ce2953eddc936f39ae3a 100644 (file)
@@ -4,6 +4,7 @@
  * Debugfs support for the AB5500 MFD driver
  */
 
+#include <linux/export.h>
 #include <linux/debugfs.h>
 #include <linux/seq_file.h>
 #include <linux/mfd/ab5500/ab5500.h>