summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2011-10-21 11:56:26 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-10-24 14:09:20 +0200
commit5f6cb769f479314c74e44a84e0180dd520333223 (patch)
tree5789c03c74d8f63f12e4a71f8cce4eb7d085e737 /drivers/mfd
parent360545c1fcdd458053ede5794c3255c44164cc4a (diff)
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')
-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>