diff options
author | Manjunath Kondaiah G <manjugk@ti.com> | 2010-10-08 12:59:20 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-10-08 13:12:37 -0400 |
commit | 600ecd9874d56d310a597b1e0a3936f195c83022 (patch) | |
tree | 694429222b3637ee4d93166e69d5de1ec3c65201 | |
parent | 04aeae777945df0e3e37d968d211c821c7458cc5 (diff) |
OMAP: mach-omap2: Fix miscellaneous sparse warnings
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>
-rw-r--r-- | arch/arm/mach-omap2/board-am3517evm.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/irq.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index ae22ea8f69c7..b091741500de 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -139,7 +139,6 @@ static void am3517_evm_ethernet_init(struct emac_platform_data *pdata) | |||
139 | static struct i2c_board_info __initdata am3517evm_i2c1_boardinfo[] = { | 139 | static struct i2c_board_info __initdata am3517evm_i2c1_boardinfo[] = { |
140 | { | 140 | { |
141 | I2C_BOARD_INFO("s35390a", 0x30), | 141 | I2C_BOARD_INFO("s35390a", 0x30), |
142 | .type = "s35390a", | ||
143 | }, | 142 | }, |
144 | }; | 143 | }; |
145 | 144 | ||
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 26aeef560aa3..32eeabe9d2ab 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c | |||
@@ -47,7 +47,6 @@ static struct omap_irq_bank { | |||
47 | } __attribute__ ((aligned(4))) irq_banks[] = { | 47 | } __attribute__ ((aligned(4))) irq_banks[] = { |
48 | { | 48 | { |
49 | /* MPU INTC */ | 49 | /* MPU INTC */ |
50 | .base_reg = 0, | ||
51 | .nr_irqs = 96, | 50 | .nr_irqs = 96, |
52 | }, | 51 | }, |
53 | }; | 52 | }; |