[PATCH v2 2/2] i2c: Build I2C_PASEMI with COMPILE_TEST

Benjamin Gray
2023-02-27T23:33:54Z

This driver builds fine on non-power platforms, so add it to the
COMPILE_TEST set to increase build coverage.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
---
drivers/i2c/busses/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index c42109e972fe..52b1aa164cda 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -890,7 +890,7 @@ config I2C_OWL

config I2C_PASEMI
tristate "PA Semi SMBus interface"
- depends on PPC_PASEMI && PCI
+ depends on (PPC_PASEMI && PCI) || COMPILE_TEST
help
Supports the PA Semi PWRficient on-chip SMBus interfaces.

--
2.39.2