Skip to content

Commit a76d19e

Browse files
BenjaminGrayNp1wsakernel
authored andcommitted
i2c: Disable I2C_APPLE when I2C_PASEMI is a builtin
The ppc64le_allmodconfig sets I2C_PASEMI=y and leaves COMPILE_TEST to default to y and I2C_APPLE to default to m, running into a known incompatible configuration that breaks the build [1]. Specifically, a common dependency (i2c-pasemi-core.o in this case) cannot be used by both builtin and module consumers. Disable I2C_APPLE when I2C_PASEMI is a builtin to prevent this. [1]: https://lore.kernel.org/all/[email protected] Suggested-by: Arnd Bergmann <[email protected]> Signed-off-by: Benjamin Gray <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Acked-by: Sven Peter <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 0a3f9a6 commit a76d19e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i2c/busses/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,7 @@ config I2C_PASEMI
914914

915915
config I2C_APPLE
916916
tristate "Apple SMBus platform driver"
917+
depends on !I2C_PASEMI
917918
depends on ARCH_APPLE || COMPILE_TEST
918919
default ARCH_APPLE
919920
help

0 commit comments

Comments
 (0)