Merge tag 'for-3.8-rc1' of git://gitorious.org/linux-pwm/linux-pwm
[firefly-linux-kernel-4.4.55.git] / drivers / pwm / pwm-imx.c
index 8f26e9fcea976e259443dedfcd9997d67009f7f3..65a86bdeabedbdfdf35ff66f976cda00114a09a9 100644 (file)
@@ -235,7 +235,7 @@ static int 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;