watchdog: davinci: use davinci_wdt_device structure to hold device data
authorIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
Wed, 4 Dec 2013 19:39:27 +0000 (21:39 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 28 Jan 2014 20:19:55 +0000 (21:19 +0100)
commit6d9a6cf5c63fe4f08b05fc53f7a17048df86d3ac
tree7219c364560d306f73ec4f54f663bca1cb4f33a4
parentf48f3ceabf2ce4fb5b8aa0672166e1e9001946b9
watchdog: davinci: use davinci_wdt_device structure to hold device data

Some SoCs, like Keystone 2, can support more than one WDT and each
watchdog device has to use it's own base address, clock source,
watchdog device, so add new davinci_wdt_device structure to hold
device data.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Guenter roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/davinci_wdt.c