]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
watchdog: of_xilinx_wdt: Initialize watchdog via data structure
authorSrinivas Goud <srinivas.goud@xilinx.com>
Tue, 9 Apr 2019 14:29:23 +0000 (19:59 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 10 Apr 2019 09:10:14 +0000 (11:10 +0200)
commitd0f845d8f2efdc8c15ddbe33efcf96e7a7f652bb
treeaea417c0b610c6608fa3c43d3e26ab562eeda842
parent3f17ba7dd26a7cbdb91b837ee2ae60debad7f8fc
watchdog: of_xilinx_wdt: Initialize watchdog via data structure

This patch is preparation for adding new watchdog based on this driver.
of_id->data is storing link xwdt_devtype_data which stores watchdog
info and ops pointers to structures.

Signed-off-by: Srinivas Goud <srinivas.goud@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
drivers/watchdog/of_xilinx_wdt.c