mfd: Add missing <linux/io.h> include to intel_msic
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 21 Oct 2011 08:56:26 +0000 (11:56 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:20 +0000 (14:09 +0200)
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>
drivers/mfd/intel_msic.c

index bd086b9e852e7fb0d96bee5cae77c25f7342a1da..97c27762174f1527af8c2b72c5438c4eebc12144 100644 (file)
@@ -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>