]> Git Repo - linux.git/blobdiff - drivers/pwm/pwm-stm32.c
Merge tag 'perf-core-for-mingo-5.3-20190709' of git://git.kernel.org/pub/scm/linux...
[linux.git] / drivers / pwm / pwm-stm32.c
index 4f842550fbd127ce1b0f53522dfb7f4e60b74329..740e2dec8313aa2f28b45276f1e56c738b972be0 100644 (file)
@@ -608,6 +608,8 @@ static int stm32_pwm_probe(struct platform_device *pdev)
        priv->regmap = ddata->regmap;
        priv->clk = ddata->clk;
        priv->max_arr = ddata->max_arr;
+       priv->chip.of_xlate = of_pwm_xlate_with_flags;
+       priv->chip.of_pwm_n_cells = 3;
 
        if (!priv->regmap || !priv->clk)
                return -EINVAL;
This page took 0.033087 seconds and 4 git commands to generate.