watchdog: imx2: Constify struct regmap_config and watchdog_ops
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 5 Jan 2015 09:09:17 +0000 (10:09 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 17 Feb 2015 20:31:06 +0000 (21:31 +0100)
commit4bd8ce33c0046e81dfc2b4d5886b6b253741261c
treeb75e6531115bd2d60ff9a4577616cab1f99bf7fb
parent1888e7ad568835debfc7f6dc9d722b2efc55c55d
watchdog: imx2: Constify struct regmap_config and watchdog_ops

The regmap_config struct may be const because it is not modified by the
driver and regmap_init() accepts pointer to const. Make struct
watchdog_ops const as well.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/imx2_wdt.c