]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: xilinx: Allocate private structure per device
authorMichal Simek <michal.simek@xilinx.com>
Wed, 12 Feb 2014 13:41:19 +0000 (14:41 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 31 Mar 2014 11:29:11 +0000 (13:29 +0200)
commit8e45300d1643e49a75c43128d5678d383f2f4932
tree47f8b9b0b2cf86c0c8ac8e9742ad4143c51e9cd0
parent329c4cee213d1a5f03d61ae4be51540b6fff9a8d
watchdog: xilinx: Allocate private structure per device

Only one watchdog could be used by this driver.
Create driver private data structure and move there
all variables for one instance.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/of_xilinx_wdt.c