diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2012-08-28 19:18:49 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-09-10 19:25:00 -0400 |
commit | 761d4c9d5c213a08129523f6f452333516a2dd7c (patch) | |
tree | e3fa339b690bdc5f7f2b8b0e524b877ce0a5a3d4 /arch/arm/mach-omap2/board-3430sdp.c | |
parent | 55d512e245bc7699a8800e23df1a24195dd08217 (diff) |
ARM: OMAP: cleanup struct omap_board_config_kernel
struct omap_board_config_kernel defined in the board files
is always empty and does not bring any added value.
Remove the struct omap_board_config_kernel instances from the board
files.
Also remove the omap_get_nr_config() macro and the omap_get_var_config()
function as both are not used for quite a long time (if ever).
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-3430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-3430sdp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index a98c688058a9..0f78cdbec5c1 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <asm/mach/map.h> | 31 | #include <asm/mach/map.h> |
32 | 32 | ||
33 | #include <plat/mcspi.h> | 33 | #include <plat/mcspi.h> |
34 | #include <plat/board.h> | ||
35 | #include <plat/usb.h> | 34 | #include <plat/usb.h> |
36 | #include "common.h" | 35 | #include "common.h" |
37 | #include <plat/dma.h> | 36 | #include <plat/dma.h> |
@@ -191,9 +190,6 @@ static struct omap_dss_board_info sdp3430_dss_data = { | |||
191 | .default_device = &sdp3430_lcd_device, | 190 | .default_device = &sdp3430_lcd_device, |
192 | }; | 191 | }; |
193 | 192 | ||
194 | static struct omap_board_config_kernel sdp3430_config[] __initdata = { | ||
195 | }; | ||
196 | |||
197 | static struct omap2_hsmmc_info mmc[] = { | 193 | static struct omap2_hsmmc_info mmc[] = { |
198 | { | 194 | { |
199 | .mmc = 1, | 195 | .mmc = 1, |
@@ -576,8 +572,6 @@ static void __init omap_3430sdp_init(void) | |||
576 | int gpio_pendown; | 572 | int gpio_pendown; |
577 | 573 | ||
578 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 574 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
579 | omap_board_config = sdp3430_config; | ||
580 | omap_board_config_size = ARRAY_SIZE(sdp3430_config); | ||
581 | omap_hsmmc_init(mmc); | 575 | omap_hsmmc_init(mmc); |
582 | omap3430_i2c_init(); | 576 | omap3430_i2c_init(); |
583 | omap_display_init(&sdp3430_dss_data); | 577 | omap_display_init(&sdp3430_dss_data); |