summaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson32/ls1b
diff options
context:
space:
mode:
authorYang Ling <gnaygnil@gmail.com>2016-12-04 23:05:40 +0800
committerRalf Baechle <ralf@linux-mips.org>2017-01-03 16:34:42 +0100
commit5e73ad3ffcebc72bce9a662d3e59f0cc9fb3f4ef (patch)
treefd7515e1f01224280043c2098049087090582186 /arch/mips/loongson32/ls1b
parente31e4505b2c944c4e4c30e5ed983966537c4632f (diff)
downloadlinux-5e73ad3ffcebc72bce9a662d3e59f0cc9fb3f4ef.tar.bz2
MIPS: Loongson1: Add watchdog support for Loongson1 board
The patch adds watchdog support for Loongson1 board. Signed-off-by: Yang Ling <gnaygnil@gmail.com> Cc: keguang.zhang@gmail.com Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14644/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/loongson32/ls1b')
-rw-r--r--arch/mips/loongson32/ls1b/board.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips/loongson32/ls1b/board.c b/arch/mips/loongson32/ls1b/board.c
index 38a1d404be1b..01aceaace314 100644
--- a/arch/mips/loongson32/ls1b/board.c
+++ b/arch/mips/loongson32/ls1b/board.c
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2011-2016 Zhang, Keguang <keguang.zhang@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/
@@ -72,6 +72,7 @@ static struct platform_device *ls1b_platform_devices[] __initdata = {
&ls1x_gpio1_pdev,
&ls1x_nand_pdev,
&ls1x_rtc_pdev,
+ &ls1x_wdt_pdev,
};
static int __init ls1b_platform_init(void)