diff options
Diffstat (limited to 'arch/sh/boards/renesas')
-rw-r--r-- | arch/sh/boards/renesas/r7780rp/setup.c | 4 | ||||
-rw-r--r-- | arch/sh/boards/renesas/rts7751r2d/setup.c | 2 | ||||
-rw-r--r-- | arch/sh/boards/renesas/x3proto/setup.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/boards/renesas/r7780rp/setup.c b/arch/sh/boards/renesas/r7780rp/setup.c index 1062346..3ab5fc4 100644 --- a/arch/sh/boards/renesas/r7780rp/setup.c +++ b/arch/sh/boards/renesas/r7780rp/setup.c @@ -112,7 +112,7 @@ static struct platform_device cf_ide_device = { static struct resource heartbeat_resources[] = { [0] = { .start = PA_OBLED, - .end = PA_OBLED + 8 - 1, + .end = PA_OBLED, .flags = IORESOURCE_MEM, }, }; @@ -133,7 +133,7 @@ static struct platform_device heartbeat_device = { /* R7785RP has a slightly more sensible FPGA.. */ #ifndef CONFIG_SH_R7785RP .dev = { - .platform_data = heartbeat_data, + .platform_data = &heartbeat_data, }, #endif .num_resources = ARRAY_SIZE(heartbeat_resources), diff --git a/arch/sh/boards/renesas/rts7751r2d/setup.c b/arch/sh/boards/renesas/rts7751r2d/setup.c index bea9848..e62107d 100644 --- a/arch/sh/boards/renesas/rts7751r2d/setup.c +++ b/arch/sh/boards/renesas/rts7751r2d/setup.c @@ -76,7 +76,7 @@ static struct platform_device cf_ide_device = { static struct resource heartbeat_resources[] = { [0] = { .start = PA_OUTPORT, - .end = PA_OUTPORT + 8 - 1, + .end = PA_OUTPORT, .flags = IORESOURCE_MEM, }, }; diff --git a/arch/sh/boards/renesas/x3proto/setup.c b/arch/sh/boards/renesas/x3proto/setup.c index 0e26d3e..abc5b6d 100644 --- a/arch/sh/boards/renesas/x3proto/setup.c +++ b/arch/sh/boards/renesas/x3proto/setup.c @@ -18,7 +18,7 @@ static struct resource heartbeat_resources[] = { [0] = { .start = 0xb8140020, - .end = 0xb8140020 + 8 - 1, + .end = 0xb8140020, .flags = IORESOURCE_MEM, }, }; |