Ver Fonte

[POWERPC] Sky Cpu and Nexus: include io.h

Add #include <asm/io.h> directive to properly declare ioremap() and
writel().

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: Brian Waite <waite@skycomputers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Cyrill Gorcunov há 17 anos atrás
pai
commit
d2ceb47a7c

+ 1 - 0
drivers/misc/hdpuftrs/hdpu_cpustate.c

@@ -22,6 +22,7 @@
 #include <linux/platform_device.h>
 #include <linux/platform_device.h>
 #include <asm/uaccess.h>
 #include <asm/uaccess.h>
 #include <linux/hdpu_features.h>
 #include <linux/hdpu_features.h>
+#include <asm/io.h>
 
 
 #define SKY_CPUSTATE_VERSION		"1.1"
 #define SKY_CPUSTATE_VERSION		"1.1"
 
 

+ 1 - 0
drivers/misc/hdpuftrs/hdpu_nexus.c

@@ -20,6 +20,7 @@
 #include <linux/hdpu_features.h>
 #include <linux/hdpu_features.h>
 
 
 #include <linux/platform_device.h>
 #include <linux/platform_device.h>
+#include <asm/io.h>
 
 
 static int hdpu_nexus_probe(struct platform_device *pdev);
 static int hdpu_nexus_probe(struct platform_device *pdev);
 static int hdpu_nexus_remove(struct platform_device *pdev);
 static int hdpu_nexus_remove(struct platform_device *pdev);