]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
hwmon: (sparx5) Make it selectable for ARCH_LAN969X
authorRobert Marko <robert.marko@sartura.hr>
Thu, 2 Apr 2026 12:34:24 +0000 (14:34 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 3 Apr 2026 18:10:05 +0000 (11:10 -0700)
LAN969x uses the same sensor and driver, so make it selectable for
ARCH_LAN969X.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Link: https://lore.kernel.org/r/20260402123436.47856-1-robert.marko@sartura.hr
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig

index 152ab31298d94ec3eb62d09d8b68561da026b2cf..fb847ab40ab4faa80aef42229a1f8e19b32166a7 100644 (file)
@@ -606,7 +606,7 @@ config SENSORS_I5K_AMB
 
 config SENSORS_SPARX5
        tristate "Sparx5 SoC temperature sensor"
-       depends on ARCH_SPARX5 || COMPILE_TEST
+       depends on ARCH_SPARX5 || ARCH_LAN969X || COMPILE_TEST
        help
          If you say yes here you get support for temperature monitoring
          with the Microchip Sparx5 SoC.