* [PATCH] ARM: mach-shmobile: sh7367 SCIF platform data update
@ 2011-08-02 9:46 Magnus Damm
2011-08-03 1:53 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2011-08-02 9:46 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
Add .regtype members to the sh7367 SCIF platform data.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-sh7367.c | 7 +++++++
1 file changed, 7 insertions(+)
--- 0001/arch/arm/mach-shmobile/setup-sh7367.c
+++ work/arch/arm/mach-shmobile/setup-sh7367.c 2011-08-02 18:30:34.000000000 +0900
@@ -41,6 +41,7 @@ static struct plat_sci_port scif0_platfo
.type = PORT_SCIFA,
.irqs = { evt2irq(0xc00), evt2irq(0xc00),
evt2irq(0xc00), evt2irq(0xc00) },
+ .regtype = SCIx_SCIFA_REGTYPE,
};
static struct platform_device scif0_device = {
@@ -60,6 +61,7 @@ static struct plat_sci_port scif1_platfo
.type = PORT_SCIFA,
.irqs = { evt2irq(0xc20), evt2irq(0xc20),
evt2irq(0xc20), evt2irq(0xc20) },
+ .regtype = SCIx_SCIFA_REGTYPE,
};
static struct platform_device scif1_device = {
@@ -79,6 +81,7 @@ static struct plat_sci_port scif2_platfo
.type = PORT_SCIFA,
.irqs = { evt2irq(0xc40), evt2irq(0xc40),
evt2irq(0xc40), evt2irq(0xc40) },
+ .regtype = SCIx_SCIFA_REGTYPE,
};
static struct platform_device scif2_device = {
@@ -98,6 +101,7 @@ static struct plat_sci_port scif3_platfo
.type = PORT_SCIFA,
.irqs = { evt2irq(0xc60), evt2irq(0xc60),
evt2irq(0xc60), evt2irq(0xc60) },
+ .regtype = SCIx_SCIFA_REGTYPE,
};
static struct platform_device scif3_device = {
@@ -117,6 +121,7 @@ static struct plat_sci_port scif4_platfo
.type = PORT_SCIFA,
.irqs = { evt2irq(0xd20), evt2irq(0xd20),
evt2irq(0xd20), evt2irq(0xd20) },
+ .regtype = SCIx_SCIFA_REGTYPE,
};
static struct platform_device scif4_device = {
@@ -136,6 +141,7 @@ static struct plat_sci_port scif5_platfo
.type = PORT_SCIFA,
.irqs = { evt2irq(0xd40), evt2irq(0xd40),
evt2irq(0xd40), evt2irq(0xd40) },
+ .regtype = SCIx_SCIFA_REGTYPE,
};
static struct platform_device scif5_device = {
@@ -155,6 +161,7 @@ static struct plat_sci_port scif6_platfo
.type = PORT_SCIFB,
.irqs = { evt2irq(0xd60), evt2irq(0xd60),
evt2irq(0xd60), evt2irq(0xd60) },
+ .regtype = SCIx_SCIFB_REGTYPE,
};
static struct platform_device scif6_device = {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: mach-shmobile: sh7367 SCIF platform data update
2011-08-02 9:46 [PATCH] ARM: mach-shmobile: sh7367 SCIF platform data update Magnus Damm
@ 2011-08-03 1:53 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2011-08-03 1:53 UTC (permalink / raw)
To: linux-sh
On Tue, Aug 02, 2011 at 06:46:39PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
>
> Add .regtype members to the sh7367 SCIF platform data.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
Why? sci_probe_regmap() should already handle these cases fine.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-03 1:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-02 9:46 [PATCH] ARM: mach-shmobile: sh7367 SCIF platform data update Magnus Damm
2011-08-03 1:53 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox