platform/surface: Disable for RISC-V
authorSunil V L <sunilvl@ventanamicro.com>
Mon, 15 May 2023 05:49:09 +0000 (11:19 +0530)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 1 Jun 2023 15:44:57 +0000 (08:44 -0700)
commit7f2e20459b281449b0228338d0dd5b044bc55eb6
treefef707ef31b109dc1ff4cd066f6fad72f9a8805f
parent24fc18087f4237d98d892280abe97711e0f4bc9e
platform/surface: Disable for RISC-V

With CONFIG_ACPI enabled for RISC-V, this driver gets enabled
in allmodconfig build. However, RISC-V doesn't support sub-word
atomics which is used by this driver and hence allmodconfig
build will fail.

There is currently no plan to support this driver for RISC-V. So,
disable this driver for RISC-V even when ACPI is enabled.

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Acked-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20230515054928.2079268-3-sunilvl@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
drivers/platform/surface/aggregator/Kconfig