]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-spear/spear320.c
Merge branch 'late/clksrc' into late/cleanup
[karo-tx-linux.git] / arch / arm / mach-spear / spear320.c
index e9db7dbf6c57c2c8a002cbf14c441caa3d5a143a..6eb3eec65f9620325cbd66cde6145a3c962ab513 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/of_platform.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
-#include <mach/generic.h>
+#include "generic.h"
 #include <mach/spear.h>
 
 #define SPEAR320_UART1_BASE            UL(0xA3000000)
@@ -254,7 +254,7 @@ static const char * const spear320_dt_board_compat[] = {
 
 struct map_desc spear320_io_desc[] __initdata = {
        {
-               .virtual        = VA_SPEAR320_SOC_CONFIG_BASE,
+               .virtual        = (unsigned long)VA_SPEAR320_SOC_CONFIG_BASE,
                .pfn            = __phys_to_pfn(SPEAR320_SOC_CONFIG_BASE),
                .length         = SZ_16M,
                .type           = MT_DEVICE