summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-jz4740.c
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2022-10-24 21:52:12 +0100
committerThierry Reding <thierry.reding@gmail.com>2022-11-29 13:05:41 +0100
commit69ba53dac3b16a3b0aa65e7817901e67bc554b32 (patch)
tree8ed2d8b715a9e1e276193567c1239423a1cba3bc /drivers/pwm/pwm-jz4740.c
parent731c47930f63883bae5de0293241f851042cbd77 (diff)
downloadlwn-69ba53dac3b16a3b0aa65e7817901e67bc554b32.tar.gz
lwn-69ba53dac3b16a3b0aa65e7817901e67bc554b32.zip
pwm: jz4740: Depend on MACH_INGENIC instead of MIPS
The MACH_INGENIC Kconfig option will be selected when building a kernel targeting Ingenic SoCs, but also when compiling a generic MIPS kernel that happens to support Ingenic SoCs. Therefore, if MACH_INGENIC is not set, we know that we're not even trying to build a generic kernel that supports these SoCs, and we can hide the options to compile the SoC-specific drivers. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-jz4740.c')
0 files changed, 0 insertions, 0 deletions