Searched refs:retu_wdt (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/watchdog/
H A Dretu_wdt.c113 struct watchdog_device *retu_wdt; retu_wdt_probe() local
117 retu_wdt = devm_kzalloc(&pdev->dev, sizeof(*retu_wdt), GFP_KERNEL); retu_wdt_probe()
118 if (!retu_wdt) retu_wdt_probe()
125 retu_wdt->info = &retu_wdt_info; retu_wdt_probe()
126 retu_wdt->ops = &retu_wdt_ops; retu_wdt_probe()
127 retu_wdt->timeout = RETU_WDT_MAX_TIMER; retu_wdt_probe()
128 retu_wdt->min_timeout = 0; retu_wdt_probe()
129 retu_wdt->max_timeout = RETU_WDT_MAX_TIMER; retu_wdt_probe()
131 watchdog_set_drvdata(retu_wdt, wdev); retu_wdt_probe()
132 watchdog_set_nowayout(retu_wdt, nowayout); retu_wdt_probe()
139 ret = watchdog_register_device(retu_wdt); retu_wdt_probe()
144 retu_wdt_ping(retu_wdt); retu_wdt_probe()
148 platform_set_drvdata(pdev, retu_wdt); retu_wdt_probe()
H A DMakefile58 obj-$(CONFIG_RETU_WATCHDOG) += retu_wdt.o

Completed in 57 milliseconds