Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: arch/arm/plat-s5p/devs.c

Issue 1848001: Add Watchdog driver support for S5PV210 (Closed) Base URL: swsolcc@12.23.106.100:kernel-samsung.git
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « arch/arm/mach-s5pv210/mach-voguev210.c ('k') | drivers/watchdog/Kconfig » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: arch/arm/plat-s5p/devs.c
diff --git a/arch/arm/plat-s5p/devs.c b/arch/arm/plat-s5p/devs.c
index 2bf358d63000ecb9a05c258cdbd9b248e90af3e6..316372573b76d915604c982f46049a660a6bcec8 100644
--- a/arch/arm/plat-s5p/devs.c
+++ b/arch/arm/plat-s5p/devs.c
@@ -36,6 +36,26 @@
#include <plat/mfc.h>
#include <plat/audio.h>
+static struct resource s3c_wdt_resource[] = {
+ [0] = {
+ .start = S5P_PA_WDT,
+ .end = S5P_PA_WDT + S5P_SZ_WDT - 1,
+ .flags = IORESOURCE_MEM,
+ },
+ [1] = {
+ .start = IRQ_WDT,
+ .end = IRQ_WDT,
+ .flags = IORESOURCE_IRQ,
+ },
+};
+
+struct platform_device s3c_device_wdt = {
+ .name = "s3c2410-wdt",
+ .id = -1,
+ .num_resources = ARRAY_SIZE(s3c_wdt_resource),
+ .resource = s3c_wdt_resource,
+};
+
static struct resource s3cfb_resource[] = {
[0] = {
.start = S5P_PA_LCD,
« no previous file with comments | « arch/arm/mach-s5pv210/mach-voguev210.c ('k') | drivers/watchdog/Kconfig » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698