OMAP: mach-omap2: Fix miscellaneous sparse warnings
authorManjunath Kondaiah G <manjugk@ti.com>
Fri, 8 Oct 2010 16:59:20 +0000 (09:59 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 8 Oct 2010 17:12:37 +0000 (10:12 -0700)
This patch fixes miscellaneous sparse warnings in mach-omap2.

arch/arm/mach-omap2/board-am3517evm.c:141:17: warning: Initializer entry defined twice
arch/arm/mach-omap2/board-am3517evm.c:142:18:   also defined here

arch/arm/mach-omap2/irq.c:50:35: warning: Using plain integer as NULL pointer

Signed-off-by: Manjunath Kondaiah G <manjugk@ti.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-am3517evm.c
arch/arm/mach-omap2/irq.c

index ae22ea8f69c7b38df557965f326b085d70027d1e..b091741500ded9ab4c8a27c05cfc7157d6c9459a 100644 (file)
@@ -139,7 +139,6 @@ static void am3517_evm_ethernet_init(struct emac_platform_data *pdata)
 static struct i2c_board_info __initdata am3517evm_i2c1_boardinfo[] = {
        {
                I2C_BOARD_INFO("s35390a", 0x30),
-               .type           = "s35390a",
        },
 };
 
index 26aeef560aa3920ac2c663d50985266bd10138d7..32eeabe9d2abeb6e235fdd7ed9d2ead76c58fe30 100644 (file)
@@ -47,7 +47,6 @@ static struct omap_irq_bank {
 } __attribute__ ((aligned(4))) irq_banks[] = {
        {
                /* MPU INTC */
-               .base_reg       = 0,
                .nr_irqs        = 96,
        },
 };