* Santosh Shilimkar <santosh.shilim...@ti.com> [090519 06:32]:
> (patch is rebased on 2.6.30-rc6. The older version was based on 2.6.30-rc2)
> 
> This patch updates the common platform headers files for OMAP4430.
> On OMAP4, GIC is used instead of INTC, hence all the private peripheral
> interrupts are shifted by an offset of 32. So if the hardcoding is not
> done for IRQ lines in drivers, then this change won't impact any driver.
> 
> Signed-off-by: Santosh Shilimkar <santosh.shilim...@ti.com>
> ---
>  arch/arm/plat-omap/include/mach/clock.h       |    8 ++-
>  arch/arm/plat-omap/include/mach/common.h      |    1 +
>  arch/arm/plat-omap/include/mach/control.h     |    7 +-
>  arch/arm/plat-omap/include/mach/debug-macro.S |    2 +-
>  arch/arm/plat-omap/include/mach/dma.h         |    1 +
>  arch/arm/plat-omap/include/mach/entry-macro.S |   46 ++++++++++++-
>  arch/arm/plat-omap/include/mach/io.h          |   37 ++++++++++
>  arch/arm/plat-omap/include/mach/irqs.h        |   89 
> +++++++++++++++++++++++++
>  arch/arm/plat-omap/include/mach/memory.h      |    3 +-
>  arch/arm/plat-omap/include/mach/serial.h      |   16 ++++-
>  10 files changed, 198 insertions(+), 12 deletions(-)
> 
> diff --git a/arch/arm/plat-omap/include/mach/clock.h 
> b/arch/arm/plat-omap/include/mach/clock.h
> index 073a2c5..058a808 100644
> --- a/arch/arm/plat-omap/include/mach/clock.h
> +++ b/arch/arm/plat-omap/include/mach/clock.h
> @@ -22,7 +22,8 @@ struct clkops {
>       void                    (*disable)(struct clk *);
>  };
>  
> -#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
> +#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) || \
> +             defined(CONFIG_ARCH_OMAP4)
>  
>  struct clksel_rate {
>       u32                     val;
> @@ -51,7 +52,7 @@ struct dpll_data {
>       u8                      max_divider;
>       u32                     max_tolerance;
>       u16                     max_multiplier;
> -#  if defined(CONFIG_ARCH_OMAP3)
> +#  if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4)
>       u8                      modes;
>       void __iomem            *autoidle_reg;
>       void __iomem            *idlest_reg;

Please get rid of the extra spaces in the #if defined above while at it.

Regards,

Tony
--
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