Hema,

> 
> 
> >-----Original Message-----
> >From: linux-omap-ow...@vger.kernel.org
> >[mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of
> >Varadarajan, Charulatha
> >Sent: Friday, August 13, 2010 7:35 PM
> >To: linux-omap@vger.kernel.org
> >Cc: khil...@deeprootsystems.com; p...@pwsan.com; Cousson,
> >Benoit; t...@atomide.com; grant.lik...@secretlab.ca;
> >dbrown...@users.sourceforge.net;
> >spi-devel-gene...@lists.sourceforge.net; Nayak, Rajendra;
> >Basak, Partha; Varadarajan, Charulatha; Raja, Govindraj
> >Subject: [PATCH 1/5] OMAP2420: McSPI: Add mcspi hwmod
> >
> >This patch updates the omap2420 hwmod data with the
> >McSPI info.
> >
> >Signed-off-by: Charulatha V <ch...@ti.com>
> >Signed-off-by: Partha Basak <p-bas...@ti.com>
> >Signed-off-by: Govindraj.R <govindraj.r...@ti.com>
> >---
> > arch/arm/mach-omap2/omap_hwmod_2420_data.c |  138
> >++++++++++++++++++++++++++++
> > 1 files changed, 138 insertions(+), 0 deletions(-)
> >
> >diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c
> >b/arch/arm/mach-omap2/omap_hwmod_2420_data.c
> >index 3cc768e..7d1a0ff 100644
> >--- a/arch/arm/mach-omap2/omap_hwmod_2420_data.c
> >+++ b/arch/arm/mach-omap2/omap_hwmod_2420_data.c
> >@@ -15,6 +15,7 @@
> > #include <mach/irqs.h>
> > #include <plat/cpu.h>
> > #include <plat/dma.h>
> >+#include <plat/mcspi.h>
> >
> > #include "omap_hwmod_common_data.h"
> >
> >@@ -33,6 +34,8 @@ static struct omap_hwmod omap2420_mpu_hwmod;
> > static struct omap_hwmod omap2420_iva_hwmod;
> > static struct omap_hwmod omap2420_l3_main_hwmod;
> > static struct omap_hwmod omap2420_l4_core_hwmod;
> >+static struct omap_hwmod omap2420_mcspi1_hwmod;
> >+static struct omap_hwmod omap2420_mcspi2_hwmod;
> >
> > /* L3 -> L4_CORE interface */
> > static struct omap_hwmod_ocp_if omap2420_l3_main__l4_core = {
> >@@ -72,6 +75,42 @@ static struct omap_hwmod omap2420_l3_main_hwmod = {
> >
> > static struct omap_hwmod omap2420_l4_wkup_hwmod;
> >
> >+/* L4 CORE -> MCSPI1 interface */
> >+static struct omap_hwmod_addr_space omap2420_mcspi1_addr_space[] = {
> >+    {
> >+            .pa_start       = 0x48098000,
> >+            .pa_end         = 0x480980ff,
> >+            .flags          = ADDR_TYPE_RT,
> >+    },
> >+};
> 
> Align all of them to one tab..

If you apply the patch, you would see them aligned to one tab.
 
> 
> >+
> >+static struct omap_hwmod_ocp_if omap2420_l4_core__mcspi1 = {
> >+    .master         = &omap2420_l4_core_hwmod,
> >+    .slave          = &omap2420_mcspi1_hwmod,
> >+    .clk            = "mcspi1_ick",
> >+    .addr           = omap2420_mcspi1_addr_space,
> >+    .addr_cnt       = ARRAY_SIZE(omap2420_mcspi1_addr_space),
> >+    .user           = OCP_USER_MPU | OCP_USER_SDMA,
> >+};
> >+
> >+/* L4 CORE -> MCSPI2 interface */
> >+static struct omap_hwmod_addr_space omap2420_mcspi2_addr_space[] = {
> >+    {
> >+            .pa_start       = 0x4809a000,
> >+            .pa_end         = 0x4809a0ff,
> >+            .flags          = ADDR_TYPE_RT,
> >+    },
> >+};
> >+
> 
> Ditto align to one tab

Ditto :)

> 
> >+static struct omap_hwmod_ocp_if omap2420_l4_core__mcspi2 = {
> >+    .master         = &omap2420_l4_core_hwmod,
.
.
[snip]
.
.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to