pwm: i.MX: eliminate build warning
[cascardo/linux.git] / drivers / pwm / pwm-imx.c
index 8a5d3ae..fe3fbdb 100644 (file)
@@ -235,7 +235,7 @@ static int __devinit imx_pwm_probe(struct platform_device *pdev)
 {
        const struct of_device_id *of_id =
                        of_match_device(imx_pwm_dt_ids, &pdev->dev);
-       struct imx_pwm_data *data;
+       const struct imx_pwm_data *data;
        struct imx_chip *imx;
        struct resource *r;
        int ret = 0;