aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-am3517evm.c
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2012-08-28 19:18:49 -0400
committerTony Lindgren <tony@atomide.com>2012-09-10 19:25:00 -0400
commit761d4c9d5c213a08129523f6f452333516a2dd7c (patch)
treee3fa339b690bdc5f7f2b8b0e524b877ce0a5a3d4 /arch/arm/mach-omap2/board-am3517evm.c
parent55d512e245bc7699a8800e23df1a24195dd08217 (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-am3517evm.c')
-rw-r--r--arch/arm/mach-omap2/board-am3517evm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c
index 18f601096ce1..00abda138022 100644
--- a/arch/arm/mach-omap2/board-am3517evm.c
+++ b/arch/arm/mach-omap2/board-am3517evm.c
@@ -32,7 +32,6 @@
32#include <asm/mach/arch.h> 32#include <asm/mach/arch.h>
33#include <asm/mach/map.h> 33#include <asm/mach/map.h>
34 34
35#include <plat/board.h>
36#include "common.h" 35#include "common.h"
37#include <plat/usb.h> 36#include <plat/usb.h>
38#include <video/omapdss.h> 37#include <video/omapdss.h>
@@ -324,9 +323,6 @@ static void am3517_evm_hecc_init(struct ti_hecc_platform_data *pdata)
324 platform_device_register(&am3517_hecc_device); 323 platform_device_register(&am3517_hecc_device);
325} 324}
326 325
327static struct omap_board_config_kernel am3517_evm_config[] __initdata = {
328};
329
330static struct omap2_hsmmc_info mmc[] = { 326static struct omap2_hsmmc_info mmc[] = {
331 { 327 {
332 .mmc = 1, 328 .mmc = 1,
@@ -346,8 +342,6 @@ static struct omap2_hsmmc_info mmc[] = {
346 342
347static void __init am3517_evm_init(void) 343static void __init am3517_evm_init(void)
348{ 344{
349 omap_board_config = am3517_evm_config;
350 omap_board_config_size = ARRAY_SIZE(am3517_evm_config);
351 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); 345 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
352 346
353 am3517_evm_i2c_init(); 347 am3517_evm_i2c_init();