summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/intel_msic.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2011-10-21 10:56:26 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2011-10-24 14:09:20 +0200
commit5f6cb769f479314c74e44a84e0180dd520333223 (patch)
tree5789c03c74d8f63f12e4a71f8cce4eb7d085e737 /drivers/mfd/intel_msic.c
parentx86, mrst: add platform support for MSIC MFD driver (diff)
downloadlinux-5f6cb769f479314c74e44a84e0180dd520333223.tar.xz
linux-5f6cb769f479314c74e44a84e0180dd520333223.zip
mfd: Add missing <linux/io.h> include to intel_msic
Without this header we might get following compilation errors: drivers/mfd/intel_msic.c:303:2: error: implicit declaration of function 'readb' drivers/mfd/intel_msic.c:433:2: error: implicit declaration of function 'ioremap_nocache' drivers/mfd/intel_msic.c:433:17: warning: assignment makes pointer from integer without a cast drivers/mfd/intel_msic.c:455:2: error: implicit declaration of function 'iounmap' Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/intel_msic.c')
-rw-r--r--drivers/mfd/intel_msic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/intel_msic.c b/drivers/mfd/intel_msic.c
index bd086b9e852e..97c27762174f 100644
--- a/drivers/mfd/intel_msic.c
+++ b/drivers/mfd/intel_msic.c
@@ -10,6 +10,7 @@
*/
#include <linux/gpio.h>
+#include <linux/io.h>
#include <linux/module.h>
#include <linux/mfd/core.h>
#include <linux/mfd/intel_msic.h>