diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2011-10-21 11:56:26 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-10-24 14:09:20 +0200 |
commit | 5f6cb769f479314c74e44a84e0180dd520333223 (patch) | |
tree | 5789c03c74d8f63f12e4a71f8cce4eb7d085e737 /drivers/mfd/intel_msic.c | |
parent | 360545c1fcdd458053ede5794c3255c44164cc4a (diff) | |
download | op-kernel-dev-5f6cb769f479314c74e44a84e0180dd520333223.zip op-kernel-dev-5f6cb769f479314c74e44a84e0180dd520333223.tar.gz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/intel_msic.c b/drivers/mfd/intel_msic.c index bd086b9..97c2776 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> |