From 18842f8755afe29b5c0a8eee3a416099c1a3ef88 Mon Sep 17 00:00:00 2001 From: blogic Date: Thu, 14 Aug 2008 16:08:46 +0000 Subject: adds watchdog driver to ar5315 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12309 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/atheros/files/arch/mips/atheros/ar5315/board.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'target/linux/atheros/files/arch/mips') diff --git a/target/linux/atheros/files/arch/mips/atheros/ar5315/board.c b/target/linux/atheros/files/arch/mips/atheros/ar5315/board.c index 96c6f8fef..f7c45bae2 100644 --- a/target/linux/atheros/files/arch/mips/atheros/ar5315/board.c +++ b/target/linux/atheros/files/arch/mips/atheros/ar5315/board.c @@ -109,7 +109,13 @@ static struct platform_device ar5315_gpio_leds = { }; #endif -static __initdata struct platform_device *ar5315_devs[5]; +static struct platform_device ar5315_wdt = +{ + .id = 0, + .name = "ar2315_wdt", +}; + +static __initdata struct platform_device *ar5315_devs[6]; static void *flash_regs; @@ -243,6 +249,7 @@ int __init ar5315_init_devices(void) ar5315_devs[dev++] = &ar5315_eth; ar5315_devs[dev++] = &ar5315_wmac; ar5315_devs[dev++] = &ar5315_spiflash; + ar5315_devs[dev++] = &ar5315_wdt; #ifdef CONFIG_LEDS_GPIO ar5315_led_data.num_leds = 0; -- cgit v1.2.3