pwm: crc: Allow compilation as module and with COMPILE_TEST
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 4 Aug 2023 14:27:07 +0000 (16:27 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 13 Oct 2023 08:07:17 +0000 (10:07 +0200)
commit91a69d38cf97b195fef1a10ea53cf429aa134497
tree7d50362495e62ec9b72bb6875c159af422b36fb3
parent384461abcab6602abc06c2dfb8fb99beeeaa12b0
pwm: crc: Allow compilation as module and with COMPILE_TEST

The driver compiles just fine as a module. The parent driver's Kconfig
symbol already depends on X86 || COMPILE_TEST, so X86 can just be
dropped from the dependencies allowing compilation on other platforms
than x86.

Link: https://lore.kernel.org/r/20230804142707.412137-3-u.kleine-koenig@pengutronix.de
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/Kconfig
drivers/pwm/pwm-crc.c