Re: [PATCH] watchdog: imx2: Constify struct regmap_config and watchdog_ops

From: Guenter Roeck
Date: Tue Jan 13 2015 - 07:10:20 EST


On 01/05/2015 01:09 AM, Krzysztof Kozlowski wrote:
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@xxxxxxxxxxx>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/