diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-11 21:59:01 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-11 21:59:01 +0000 |
commit | 79a88f017c97060111e8b3976070c83d1ca87a0e (patch) | |
tree | d7bb00d42686dd01037c88e10e6287ef3328cfe9 /target/linux/lantiq/files-3.1/arch/mips | |
parent | 0eced37b72d7cf25fef2628fc0a14a22a01b28a4 (diff) |
lantiq: fix breakage introduced in 3.1 bump
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28961 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/files-3.1/arch/mips')
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 d5872c219..89dc79de6 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 3a112b366..42a3344ae 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 88d0f3546..4cdfc199d 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 ce3ab388b..1c0fcb5e7 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, |