wdog: imx-wd: Introduce ops struct for imx21/imx1
Replace the set_timeout function in the device platform data by an ops
struct which stores a set_timeout and init function.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 7cb4778 commit 564a6092bad55616b21551b3d418e108998966dd
@Markus Pargmann Markus Pargmann authored on 9 Apr 2015
Sascha Hauer committed on 13 Apr 2015
Showing 1 changed file
View
drivers/watchdog/imxwd.c