mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-14 19:04:39 +00:00
ramips: register ethernet device on the WHR-G300N and V22RW-2x2 boards
SVN-Revision: 18229
This commit is contained in:
parent
525c666176
commit
b624dec41b
@ -85,7 +85,7 @@ static void __init v22rw_2x2_init(void)
|
||||
rt305x_gpio_init(RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT);
|
||||
|
||||
rt305x_register_flash(0, &v22rw_2x2_flash_data);
|
||||
|
||||
rt305x_register_ethernet();
|
||||
ramips_register_gpio_leds(-1, ARRAY_SIZE(v22rw_2x2_leds_gpio),
|
||||
v22rw_2x2_leds_gpio);
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ static void __init whr_g300n_init(void)
|
||||
rt305x_gpio_init(RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT);
|
||||
|
||||
rt305x_register_flash(0, &whr_g300n_flash_data);
|
||||
|
||||
rt305x_register_ethernet();
|
||||
ramips_register_gpio_leds(-1, ARRAY_SIZE(whr_g300n_leds_gpio),
|
||||
whr_g300n_leds_gpio);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user