Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c: apple: Drop default ARCH_APPLE in Kconfig

When the first driver for Apple Silicon was upstreamed we accidentally
included `default ARCH_APPLE` in its Kconfig which then spread to almost
every subsequent driver. As soon as ARCH_APPLE is set to y this will
pull in many drivers as built-ins which is not what we want.
Thus, drop `default ARCH_APPLE` from Kconfig.

Signed-off-by: Sven Peter <sven@kernel.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

authored by

Sven Peter and committed by
Wolfram Sang
65cf62cd efb2ad89

-1
-1
drivers/i2c/busses/Kconfig
··· 992 992 tristate "Apple SMBus platform driver" 993 993 depends on !I2C_PASEMI 994 994 depends on ARCH_APPLE || COMPILE_TEST 995 - default ARCH_APPLE 996 995 help 997 996 Say Y here if you want to use the I2C controller present on Apple 998 997 Silicon chips such as the M1.