diff options
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
-rw-r--r-- | drivers/pwm/pwm-stm32.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pwm/pwm-stm32.c b/drivers/pwm/pwm-stm32.c index 09383c6720fb..4f842550fbd1 100644 --- a/drivers/pwm/pwm-stm32.c +++ b/drivers/pwm/pwm-stm32.c | |||
@@ -484,9 +484,7 @@ static int stm32_pwm_apply_locked(struct pwm_chip *chip, struct pwm_device *pwm, | |||
484 | static const struct pwm_ops stm32pwm_ops = { | 484 | static const struct pwm_ops stm32pwm_ops = { |
485 | .owner = THIS_MODULE, | 485 | .owner = THIS_MODULE, |
486 | .apply = stm32_pwm_apply_locked, | 486 | .apply = stm32_pwm_apply_locked, |
487 | #if IS_ENABLED(CONFIG_DMA_ENGINE) | 487 | .capture = IS_ENABLED(CONFIG_DMA_ENGINE) ? stm32_pwm_capture : NULL, |
488 | .capture = stm32_pwm_capture, | ||
489 | #endif | ||
490 | }; | 488 | }; |
491 | 489 | ||
492 | static int stm32_pwm_set_breakinput(struct stm32_pwm *priv, | 490 | static int stm32_pwm_set_breakinput(struct stm32_pwm *priv, |