|
@@ -167,6 +167,8 @@ static int bcm2835_pwm_probe(struct platform_device *pdev)
|
|
pc->chip.dev = &pdev->dev;
|
|
pc->chip.dev = &pdev->dev;
|
|
pc->chip.ops = &bcm2835_pwm_ops;
|
|
pc->chip.ops = &bcm2835_pwm_ops;
|
|
pc->chip.npwm = 2;
|
|
pc->chip.npwm = 2;
|
|
|
|
+ pc->chip.of_xlate = of_pwm_xlate_with_flags;
|
|
|
|
+ pc->chip.of_pwm_n_cells = 3;
|
|
|
|
|
|
platform_set_drvdata(pdev, pc);
|
|
platform_set_drvdata(pdev, pc);
|
|
|
|
|