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-ti8168evm.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-ti8168evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ti8168evm.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-ti8168evm.c b/arch/arm/mach-omap2/board-ti8168evm.c index d4c8392cadb6..da4679d5d1fa 100644 --- a/arch/arm/mach-omap2/board-ti8168evm.c +++ b/arch/arm/mach-omap2/board-ti8168evm.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <asm/mach/map.h> | 21 | #include <asm/mach/map.h> |
22 | 22 | ||
23 | #include <plat/irqs.h> | 23 | #include <plat/irqs.h> |
24 | #include <plat/board.h> | ||
25 | #include "common.h" | 24 | #include "common.h" |
26 | #include <plat/usb.h> | 25 | #include <plat/usb.h> |
27 | 26 | ||
@@ -32,15 +31,10 @@ static struct omap_musb_board_data musb_board_data = { | |||
32 | .power = 500, | 31 | .power = 500, |
33 | }; | 32 | }; |
34 | 33 | ||
35 | static struct omap_board_config_kernel ti81xx_evm_config[] __initdata = { | ||
36 | }; | ||
37 | |||
38 | static void __init ti81xx_evm_init(void) | 34 | static void __init ti81xx_evm_init(void) |
39 | { | 35 | { |
40 | omap_serial_init(); | 36 | omap_serial_init(); |
41 | omap_sdrc_init(NULL, NULL); | 37 | omap_sdrc_init(NULL, NULL); |
42 | omap_board_config = ti81xx_evm_config; | ||
43 | omap_board_config_size = ARRAY_SIZE(ti81xx_evm_config); | ||
44 | usb_musb_init(&musb_board_data); | 38 | usb_musb_init(&musb_board_data); |
45 | } | 39 | } |
46 | 40 | ||