* [PATCH][PPC32] ibmstb4 ocp fix
@ 2005-02-07 4:38 Andre' Draszik
0 siblings, 0 replies; only message in thread
From: Andre' Draszik @ 2005-02-07 4:38 UTC (permalink / raw)
To: linuxppc-embedded
this one fixes the OCP device definition for STB04.
Please consider applying.
Signed-off-by: Andre' Draszik <andid@gmx.net>
diff -urN linuxppc-2.5.orig/arch/ppc/platforms/4xx/ibmstb4.c linuxppc-2.5/arch/ppc/platforms/4xx/ibmstb4.c
--- linuxppc-2.5.orig/arch/ppc/platforms/4xx/ibmstb4.c 2005-02-06 00:16:33.000000000 +0100
+++ linuxppc-2.5/arch/ppc/platforms/4xx/ibmstb4.c 2005-02-05 21:20:58.000000000 +0100
@@ -22,7 +22,7 @@
};
OCP_SYSFS_IIC_DATA()
-struct ocp_def core_ocp[] __initdata = {
+struct ocp_def core_ocp[] = {
{ .vendor = OCP_VENDOR_IBM,
.function = OCP_FUNC_16550,
.index = 0,
@@ -46,6 +46,7 @@
},
{ .vendor = OCP_VENDOR_IBM,
.function = OCP_FUNC_IIC,
+ .index = 0,
.paddr = IIC0_BASE,
.irq = IIC0_IRQ,
.pm = IBM_CPM_IIC0,
@@ -54,6 +55,7 @@
},
{ .vendor = OCP_VENDOR_IBM,
.function = OCP_FUNC_IIC,
+ .index = 1,
.paddr = IIC1_BASE,
.irq = IIC1_IRQ,
.pm = IBM_CPM_IIC1,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-07 4:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-07 4:38 [PATCH][PPC32] ibmstb4 ocp fix Andre' Draszik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).