mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
lantiq: fix breakage introduced in 3.1 bump
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28961 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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[] =
|
||||
{
|
||||
{
|
||||
|
||||
@@ -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[] =
|
||||
{
|
||||
{
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user