diff options
author | John Crispin <john@openwrt.org> | 2011-11-11 21:59:01 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2011-11-11 21:59:01 +0000 |
commit | e1dc73be9075fbdbdf03f0efe3992350273ceca1 (patch) | |
tree | 83e035145f84afcc9214619dece1536b2e2f098c /target/linux/lantiq/files-3.1/arch | |
parent | 20ff304ed90da0fa22b3d550fe1045d53eed5a0e (diff) | |
download | upstream-e1dc73be9075fbdbdf03f0efe3992350273ceca1.tar.gz upstream-e1dc73be9075fbdbdf03f0efe3992350273ceca1.tar.bz2 upstream-e1dc73be9075fbdbdf03f0efe3992350273ceca1.zip |
lantiq: fix breakage introduced in 3.1 bump
SVN-Revision: 28961
Diffstat (limited to 'target/linux/lantiq/files-3.1/arch')
4 files changed, 2 insertions, 5 deletions
diff --git a/target/linux/lantiq/files-3.1/arch/mips/lantiq/dev-gpio-leds.c b/target/linux/lantiq/files-3.1/arch/mips/lantiq/dev-gpio-leds.c index d5872c219b..89dc79de61 100644 --- a/target/linux/lantiq/files-3.1/arch/mips/lantiq/dev-gpio-leds.c +++ b/target/linux/lantiq/files-3.1/arch/mips/lantiq/dev-gpio-leds.c @@ -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; diff --git a/target/linux/lantiq/files-3.1/arch/mips/lantiq/falcon/mach-95C3AM1.c b/target/linux/lantiq/files-3.1/arch/mips/lantiq/falcon/mach-95C3AM1.c index 3a112b3666..42a3344ae9 100644 --- a/target/linux/lantiq/files-3.1/arch/mips/lantiq/falcon/mach-95C3AM1.c +++ b/target/linux/lantiq/files-3.1/arch/mips/lantiq/falcon/mach-95C3AM1.c @@ -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[] = { { diff --git a/target/linux/lantiq/files-3.1/arch/mips/lantiq/falcon/mach-easy98020.c b/target/linux/lantiq/files-3.1/arch/mips/lantiq/falcon/mach-easy98020.c index 88d0f35469..4cdfc199db 100644 --- a/target/linux/lantiq/files-3.1/arch/mips/lantiq/falcon/mach-easy98020.c +++ b/target/linux/lantiq/files-3.1/arch/mips/lantiq/falcon/mach-easy98020.c @@ -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[] = { { diff --git a/target/linux/lantiq/files-3.1/arch/mips/lantiq/xway/mach-arv45xx.c b/target/linux/lantiq/files-3.1/arch/mips/lantiq/xway/mach-arv45xx.c index ce3ab388be..1c0fcb5e74 100644 --- a/target/linux/lantiq/files-3.1/arch/mips/lantiq/xway/mach-arv45xx.c +++ b/target/linux/lantiq/files-3.1/arch/mips/lantiq/xway/mach-arv45xx.c @@ -487,6 +487,7 @@ arv7525pw_init(void) ltq_register_pci(<q_pci_data); ltq_eth_data.mii_mode = PHY_INTERFACE_MODE_MII; arv45xx_register_ethernet(); + ltq_register_tapi(); } MIPS_MACHINE(LANTIQ_MACH_ARV7525PW, |