aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files-3.1
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-11-11 21:59:01 +0000
committerJohn Crispin <blogic@openwrt.org>2011-11-11 21:59:01 +0000
commit9b8ac845a1eef0a3bb5886e3e583417e948c0763 (patch)
treed7bb00d42686dd01037c88e10e6287ef3328cfe9 /target/linux/lantiq/files-3.1
parentc6af60f433ffe9c68626b2d65584115071349f15 (diff)
downloadupstream-9b8ac845a1eef0a3bb5886e3e583417e948c0763.tar.gz
upstream-9b8ac845a1eef0a3bb5886e3e583417e948c0763.tar.bz2
upstream-9b8ac845a1eef0a3bb5886e3e583417e948c0763.zip
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')
-rw-r--r--target/linux/lantiq/files-3.1/arch/mips/lantiq/dev-gpio-leds.c2
-rw-r--r--target/linux/lantiq/files-3.1/arch/mips/lantiq/falcon/mach-95C3AM1.c2
-rw-r--r--target/linux/lantiq/files-3.1/arch/mips/lantiq/falcon/mach-easy98020.c2
-rw-r--r--target/linux/lantiq/files-3.1/arch/mips/lantiq/xway/mach-arv45xx.c1
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(&ltq_pci_data);
ltq_eth_data.mii_mode = PHY_INTERFACE_MODE_MII;
arv45xx_register_ethernet();
+ ltq_register_tapi();
}
MIPS_MACHINE(LANTIQ_MACH_ARV7525PW,