Răsfoiți Sursa

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>
Mika Westerberg 13 ani în urmă
părinte
comite
5f6cb769f4
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      drivers/mfd/intel_msic.c

+ 1 - 0
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>