Commit f945ee13 authored by Ben Dooks's avatar Ben Dooks

[ARM] S3C64XX: Fix warnings from map_io initilaisers

Discard the 'void *' from the pointers used for the
virtual addresses when setting up the .virtual fields
of the io map to avoid implicit cast warnings
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>

 Index: linux.git/arch/arm/plat-s3c64xx/cpu.c
===================================================================
parent 39669f59
...@@ -68,7 +68,7 @@ static struct cpu_table cpu_ids[] __initdata = { ...@@ -68,7 +68,7 @@ static struct cpu_table cpu_ids[] __initdata = {
static struct map_desc s3c_iodesc[] __initdata = { static struct map_desc s3c_iodesc[] __initdata = {
{ {
.virtual = S3C_VA_SYS, .virtual = (unsigned long)S3C_VA_SYS,
.pfn = __phys_to_pfn(S3C64XX_PA_SYSCON), .pfn = __phys_to_pfn(S3C64XX_PA_SYSCON),
.length = SZ_4K, .length = SZ_4K,
.type = MT_DEVICE, .type = MT_DEVICE,
...@@ -78,22 +78,22 @@ static struct map_desc s3c_iodesc[] __initdata = { ...@@ -78,22 +78,22 @@ static struct map_desc s3c_iodesc[] __initdata = {
.length = SZ_4K, .length = SZ_4K,
.type = MT_DEVICE, .type = MT_DEVICE,
}, { }, {
.virtual = S3C_VA_VIC0, .virtual = (unsigned long)S3C_VA_VIC0,
.pfn = __phys_to_pfn(S3C64XX_PA_VIC0), .pfn = __phys_to_pfn(S3C64XX_PA_VIC0),
.length = SZ_16K, .length = SZ_16K,
.type = MT_DEVICE, .type = MT_DEVICE,
}, { }, {
.virtual = S3C_VA_VIC1, .virtual = (unsigned long)S3C_VA_VIC1,
.pfn = __phys_to_pfn(S3C64XX_PA_VIC1), .pfn = __phys_to_pfn(S3C64XX_PA_VIC1),
.length = SZ_16K, .length = SZ_16K,
.type = MT_DEVICE, .type = MT_DEVICE,
}, { }, {
.virtual = S3C_VA_TIMER, .virtual = (unsigned long)S3C_VA_TIMER,
.pfn = __phys_to_pfn(S3C_PA_TIMER), .pfn = __phys_to_pfn(S3C_PA_TIMER),
.length = SZ_16K, .length = SZ_16K,
.type = MT_DEVICE, .type = MT_DEVICE,
}, { }, {
.virtual = S3C64XX_VA_GPIO, .virtual = (unsigned long)S3C64XX_VA_GPIO,
.pfn = __phys_to_pfn(S3C64XX_PA_GPIO), .pfn = __phys_to_pfn(S3C64XX_PA_GPIO),
.length = SZ_4K, .length = SZ_4K,
.type = MT_DEVICE, .type = MT_DEVICE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment