diff options
author | John Crispin <john@openwrt.org> | 2008-08-14 16:08:46 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2008-08-14 16:08:46 +0000 |
commit | 9379dc19b6b850617763d10cf545a5533c8e6f17 (patch) | |
tree | 421be037104a7b27ff39f89a45b1c3bf1a2b6ff5 /target/linux/atheros/files/arch/mips | |
parent | 58fb9f67ec9a60b808225a83dcbeeed227eb413a (diff) | |
download | mtk-20170518-9379dc19b6b850617763d10cf545a5533c8e6f17.zip mtk-20170518-9379dc19b6b850617763d10cf545a5533c8e6f17.tar.gz mtk-20170518-9379dc19b6b850617763d10cf545a5533c8e6f17.tar.bz2 |
adds watchdog driver to ar5315
SVN-Revision: 12309
Diffstat (limited to 'target/linux/atheros/files/arch/mips')
-rw-r--r-- | target/linux/atheros/files/arch/mips/atheros/ar5315/board.c | 9 |
1 files changed, 8 insertions, 1 deletions
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 96c6f8f..f7c45ba 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; |