diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-05-25 19:04:54 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2018-06-06 11:04:00 +0300 |
commit | d968e5041fefbc7c4d545cabbc692b11cc49050d (patch) | |
tree | a4b50118d303d7e9b950aad4f5a5ed4e468bf866 /samples | |
parent | fdcb613d49321b5bf5d5a1bd0fba8e7c241dcc70 (diff) | |
download | linux-d968e5041fefbc7c4d545cabbc692b11cc49050d.tar.xz |
pwm: stm32: Enforce dependency on CONFIG_MFD_STM32_TIMERS
When compile-testing the PWM driver without also enabling the
stm32_timers MFD, we run into a link error:
drivers/pwm/pwm-stm32.o: In function `stm32_pwm_raw_capture.isra.6':
pwm-stm32.c:(.text+0xcb0): undefined reference to `stm32_timers_dma_burst_read'
We don't need the '|| COMPILE_TEST' here, since stm32_timers itself
can be built with CONFIG_COMPILE_TEST on all architectures, so we do
get the coverage through allmodconfig and randconfig builds even
when we make it a hard dependency.
Fixes: 7edf7369205b ("pwm: Add driver for STM32 plaftorm")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions