mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
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>
This commit is contained in:
parent
384461abca
commit
91a69d38cf
@ -173,8 +173,8 @@ config PWM_CLPS711X
|
||||
will be called pwm-clps711x.
|
||||
|
||||
config PWM_CRC
|
||||
bool "Intel Crystalcove (CRC) PWM support"
|
||||
depends on X86 && INTEL_SOC_PMIC
|
||||
tristate "Intel Crystalcove (CRC) PWM support"
|
||||
depends on INTEL_SOC_PMIC
|
||||
help
|
||||
Generic PWM framework driver for Crystalcove (CRC) PMIC based PWM
|
||||
control.
|
||||
|
@ -184,5 +184,8 @@ static struct platform_driver crystalcove_pwm_driver = {
|
||||
.name = "crystal_cove_pwm",
|
||||
},
|
||||
};
|
||||
module_platform_driver(crystalcove_pwm_driver);
|
||||
|
||||
builtin_platform_driver(crystalcove_pwm_driver);
|
||||
MODULE_ALIAS("platform:crystal_cove_pwm");
|
||||
MODULE_DESCRIPTION("Intel Crystalcove (CRC) PWM support");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
Loading…
Reference in New Issue
Block a user