aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/ath79/dev-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/ath79/dev-common.c')
-rw-r--r--arch/mips/ath79/dev-common.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/mips/ath79/dev-common.c b/arch/mips/ath79/dev-common.c
index 3cfa10065d68..3b82e325bebf 100644
--- a/arch/mips/ath79/dev-common.c
+++ b/arch/mips/ath79/dev-common.c
@@ -65,3 +65,13 @@ void __init ath79_register_uart(void)
ath79_uart_data[0].uartclk = clk_get_rate(clk);
platform_device_register(&ath79_uart_device);
}
+
+static struct platform_device ath79_wdt_device = {
+ .name = "ath79-wdt",
+ .id = -1,
+};
+
+void __init ath79_register_wdt(void)
+{
+ platform_device_register(&ath79_wdt_device);
+}