aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3stalker.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-omap3stalker.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-omap3stalker.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3stalker.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c
index b318f5602e36..421fb8e76f27 100644
--- a/arch/arm/mach-omap2/board-omap3stalker.c
+++ b/arch/arm/mach-omap2/board-omap3stalker.c
@@ -35,7 +35,6 @@
35#include <asm/mach/map.h> 35#include <asm/mach/map.h>
36#include <asm/mach/flash.h> 36#include <asm/mach/flash.h>
37 37
38#include <plat/board.h>
39#include "common.h" 38#include "common.h"
40#include <plat/gpmc.h> 39#include <plat/gpmc.h>
41#include <plat/nand.h> 40#include <plat/nand.h>
@@ -362,9 +361,6 @@ static int __init omap3_stalker_i2c_init(void)
362 361
363#define OMAP3_STALKER_TS_GPIO 175 362#define OMAP3_STALKER_TS_GPIO 175
364 363
365static struct omap_board_config_kernel omap3_stalker_config[] __initdata = {
366};
367
368static struct platform_device *omap3_stalker_devices[] __initdata = { 364static struct platform_device *omap3_stalker_devices[] __initdata = {
369 &keys_gpio, 365 &keys_gpio,
370}; 366};
@@ -399,8 +395,6 @@ static void __init omap3_stalker_init(void)
399{ 395{
400 regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies)); 396 regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies));
401 omap3_mux_init(board_mux, OMAP_PACKAGE_CUS); 397 omap3_mux_init(board_mux, OMAP_PACKAGE_CUS);
402 omap_board_config = omap3_stalker_config;
403 omap_board_config_size = ARRAY_SIZE(omap3_stalker_config);
404 398
405 omap_mux_init_gpio(23, OMAP_PIN_INPUT); 399 omap_mux_init_gpio(23, OMAP_PIN_INPUT);
406 omap_hsmmc_init(mmc); 400 omap_hsmmc_init(mmc);