2
0
forked from Ivasoft/openwrt

lantiq: fix breakage introduced in 3.1 bump

SVN-Revision: 28961
This commit is contained in:
John Crispin
2011-11-11 21:59:01 +00:00
parent 20ff304ed9
commit e1dc73be90
10 changed files with 326 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ void __init ltq_add_device_gpio_leds(int id, unsigned num_leds,
memcpy(p, leds, num_leds * sizeof(*p));
pdev = platform_device_alloc("gpio-leds", id);
pdev = platform_device_alloc("leds-gpio", id);
if (!pdev)
goto err_free_leds;

View File

@@ -12,8 +12,6 @@
#define BOARD_95C3AM1_GPIO_LED_2 12
#define BOARD_95C3AM1_GPIO_LED_3 13
extern unsigned char ltq_ethaddr[6];
static struct mtd_partition board_95C3AM1_partitions[] =
{
{

View File

@@ -24,8 +24,6 @@
#define EASY98020_GPIO_LED_GE1_ACT 106
#define EASY98020_GPIO_LED_GE1_LINK 105
extern unsigned char ltq_ethaddr[6];
static struct mtd_partition easy98020_spi_partitions[] =
{
{

View File

@@ -487,6 +487,7 @@ arv7525pw_init(void)
ltq_register_pci(&ltq_pci_data);
ltq_eth_data.mii_mode = PHY_INTERFACE_MODE_MII;
arv45xx_register_ethernet();
ltq_register_tapi();
}
MIPS_MACHINE(LANTIQ_MACH_ARV7525PW,