Sky Cpu and Nexus: include io.h
PATCH 2/4 Sky Cpu and Nexus: include io.h
This patch adds #include <asm/io.h> directive
to properly declare ioremap() and writel().
Signed-off-by Cyrill Gorcunov <[email protected]>
---
drivers/misc/hdpuftrs/hdpu_cpustate.c | 1 + drivers/misc/hdpuftrs/hdpu_nexus.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
drivers/misc/hdpuftrs/hdpu_cpustate.c +1 -0
@@ -22,6 +22,7 @@#include <linux/platform_device.h> #include <asm/uaccess.h> #include <linux/hdpu_features.h> +#include <asm/io.h> #define SKY_CPUSTATE_VERSION "1.1"
drivers/misc/hdpuftrs/hdpu_nexus.c +1 -0
@@ -20,6 +20,7 @@#include <linux/hdpu_features.h> #include <linux/platform_device.h> +#include <asm/io.h> static int hdpu_nexus_probe (struct platform_device *pdev);static int hdpu_nexus_remove (struct platform_device *pdev);