Example #1
0
File: rb-192.c Project: 7LK/McWRT
static void __init rb192_setup(void)
{
	rb1xx_generic_setup();
	rb1xx_add_device_nand();

	adm5120_add_device_gpio(0);
	adm5120_add_device_switch(6, rb192_vlans);
}
Example #2
0
static void __init rb150_setup(void)
{
	rb1xx_gpio_buttons[0].gpio = RB150_GPIO_RESET_BUTTON;
	rb1xx_generic_setup();
	rb150_add_device_nand();

	adm5120_add_device_gpio_leds(ARRAY_SIZE(rb150_gpio_leds),
					rb150_gpio_leds);
	adm5120_add_device_switch(5, rb150_vlans);
}
Example #3
0
static void __init rb153_setup(void)
{
	rb1xx_generic_setup();
	rb1xx_add_device_nand();
	rb153_add_device_cf();

	adm5120_add_device_gpio_leds(ARRAY_SIZE(rb153_gpio_leds),
					rb153_gpio_leds);
	adm5120_add_device_switch(5, rb153_vlans);
}