diff options
Diffstat (limited to 'target/linux/ifxmips/files/arch/mips/ifxmips/board.c')
-rw-r--r-- | target/linux/ifxmips/files/arch/mips/ifxmips/board.c | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/target/linux/ifxmips/files/arch/mips/ifxmips/board.c b/target/linux/ifxmips/files/arch/mips/ifxmips/board.c index 28f2e263c1..8d12ebdaf1 100644 --- a/target/linux/ifxmips/files/arch/mips/ifxmips/board.c +++ b/target/linux/ifxmips/files/arch/mips/ifxmips/board.c @@ -43,6 +43,9 @@ static unsigned int chiprev; static struct platform_device *ifxmips_devs[MAX_IFXMIPS_DEVS]; +spinlock_t ebu_lock = SPIN_LOCK_UNLOCKED; +EXPORT_SYMBOL_GPL(ebu_lock); + static struct platform_device ifxmips_led[] = { @@ -79,24 +82,6 @@ ifxmips_wdt[] = }, }; -static struct platform_device -ifxmips_asc0[] = -{ - { - .id = 0, - .name = "ifxmips_asc", - }, -}; - -static struct platform_device -ifxmips_asc1[] = -{ - { - .id = 1, - .name = "ifxmips_asc", - }, -}; - static struct physmap_flash_data ifxmips_mtd_data = { .width = 2, @@ -173,8 +158,6 @@ ifxmips_init_devices(void) ifxmips_devs[dev++] = ifxmips_mii; ifxmips_devs[dev++] = ifxmips_mtd; ifxmips_devs[dev++] = ifxmips_wdt; - //ifxmips_devs[dev++] = ifxmips_asc0; - ifxmips_devs[dev++] = ifxmips_asc1; #ifdef CONFIG_GPIO_DEVICE ifxmips_devs[dev++] = ifxmips_gpio_dev; #endif |