]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: rt2x00: add COMPILE_TEST
authorRosen Penev <rosenp@gmail.com>
Tue, 22 Jul 2025 21:28:50 +0000 (14:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jul 2025 10:29:07 +0000 (12:29 +0200)
While this driver is for a specific arch, there is nothing preventing it
from being compiled on other platforms.

Allows the various bots to test compilation and complain if a patch is
bad.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://patch.msgid.link/20250722212856.11343-2-rosenp@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ralink/rt2x00/Kconfig

index d1fd66d44a7ed6ba5d621324f31e05011c94d78e..3a32ceead54f215d515cde11d7be3cd0d01572cf 100644 (file)
@@ -202,7 +202,7 @@ endif
 
 config RT2800SOC
        tristate "Ralink WiSoC support"
-       depends on SOC_RT288X || SOC_RT305X || SOC_MT7620
+       depends on SOC_RT288X || SOC_RT305X || SOC_MT7620 || COMPILE_TEST
        select RT2X00_LIB_SOC
        select RT2X00_LIB_MMIO
        select RT2X00_LIB_CRYPTO