diff options
author | 2018-05-25 23:08:30 +0200 | |
---|---|---|
committer | 2018-06-06 10:15:55 +0200 | |
commit | 414c52b7899aa9097c2fa8444654a866e1df4a0c (patch) | |
tree | 63d1784941535495fe0c69d9062513e023ba0b5e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | Merge tag 'ib-mfd-pwm-v4.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd into for-next (diff) | |
download | wireguard-linux-414c52b7899aa9097c2fa8444654a866e1df4a0c.tar.xz wireguard-linux-414c52b7899aa9097c2fa8444654a866e1df4a0c.zip |
pwm: stm32: Fix build warning with CONFIG_DMA_ENGINE disabled
Without dmaengine support, we get a harmless warning about an unused
function:
drivers/pwm/pwm-stm32.c:166:12: error: 'stm32_pwm_capture' defined but not used [-Werror=unused-function]
Changing the #ifdef to an IS_ENABLED() check shuts up that warning and
is slightly nicer to read.
Fixes: 53e38fe73f94 ("pwm: stm32: Add capture support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions