drm/rp1: depends on, instead of select, MFD_RP1
authorRatchanan Srirattanamet <peathot@hotmail.com>
Fri, 26 Jan 2024 11:49:42 +0000 (18:49 +0700)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:34 +0000 (11:35 +0000)
commit81d741c63deedf2944c1b8bc4ae7b8783334ec3b
tree7c2f4e089ea9927cd81750bcf131d2f51e7ed9a8
parent13763a20c2cf3f5424062317f3a4e13dd5147569
drm/rp1: depends on, instead of select, MFD_RP1

According to kconfig-language.txt [1], select should be used only for
"non-visible symbols ... and for symbols with no dependencies". Since
MFD_RP1 both is visible and has a dependency, "select" should not be
used and "depends on" should be used instead.

In particular, this fixes the build of this kernel tree on NixOS, where
its kernel config system will try to answer 'M' to as many config as
possible.

[1] https://www.kernel.org/doc/html/latest/kbuild/kconfig-language.html

Signed-off-by: Ratchanan Srirattanamet <peathot@hotmail.com>
drivers/gpu/drm/rp1/rp1-dpi/Kconfig
drivers/gpu/drm/rp1/rp1-dsi/Kconfig
drivers/gpu/drm/rp1/rp1-vec/Kconfig