Exemple #1
0
static void __init rut1xx_init(void)
{
	gemini_gpio_init();
	platform_register_uart();
	platform_register_pflash(SZ_8M, NULL, 0);
	platform_device_register(&rut1xx_leds);
	platform_device_register(&rut1xx_keys_device);
}
Exemple #2
0
static void __init wbd222_init(void)
{
	gemini_gpio_init();
	platform_register_uart();
	platform_register_pflash(SZ_8M, wbd222_partitions,
		wbd222_num_partitions);
	platform_device_register(&wbd222_leds_device);
	platform_device_register(&wbd222_keys_device);
}
static void __init ib4220b_init(void)
{
	gemini_gpio_init();
	platform_register_uart();
	platform_register_pflash(SZ_16M, NULL, 0);
	platform_device_register(&ib4220b_led_device);
	platform_device_register(&ib4220b_key_device);
	platform_register_rtc();
}