static void __init omap_apollon_init(void) { apollon_led_init(); apollon_sw_init(); /* REVISIT: where's the correct place */ omap_cfg_reg(W19_24XX_SYS_NIRQ); /* Use Interal loop-back in MMC/SDIO Module Input Clock selection */ CONTROL_DEVCONF |= (1 << 24); /* * Make sure the serial ports are muxed on at this point. * You have to mux them off in device drivers later on * if not needed. */ platform_add_devices(apollon_devices, ARRAY_SIZE(apollon_devices)); omap_board_config = apollon_config; omap_board_config_size = ARRAY_SIZE(apollon_config); omap_serial_init(); }
static int __init omap_apollon_keys_init(void) { apollon_sw_init(); return platform_device_register(&apollon_gpio_keys_device); }