i2c: altera: use ARCH_INTEL_SOCFPGA also for 32-bit ARM SoCs
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 11 Mar 2021 15:27:38 +0000 (16:27 +0100)
committerDinh Nguyen <dinguyen@kernel.org>
Tue, 23 Mar 2021 16:03:36 +0000 (11:03 -0500)
ARCH_SOCFPGA is being renamed to ARCH_INTEL_SOCFPGA so adjust the
32-bit ARM drivers to rely on new symbol.

The side effect is that the I2C_ALTERA will now be available for both
32-bit and 64-bit Intel SoCFPGA, even though it is used only for 32-bit.

Acked-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
drivers/i2c/busses/Kconfig

index 05ebf75..3eec59f 100644 (file)
@@ -369,7 +369,7 @@ comment "I2C system bus drivers (mostly embedded / system-on-chip)"
 
 config I2C_ALTERA
        tristate "Altera Soft IP I2C"
-       depends on ARCH_SOCFPGA || NIOS2 || COMPILE_TEST
+       depends on ARCH_INTEL_SOCFPGA || NIOS2 || COMPILE_TEST
        depends on OF
        help
          If you say yes to this option, support will be included for the