Skip to content

Commit 4d51ac5

Browse files
author
Andi Shyti
committed
i2c: nomadik: Enable compile testing for the Nomadik driver
The AMBA bus header files do not generate compilation errors even when the AMBA bus is not enabled in Kconfig via ARM_AMBA. This allows the Nomadik driver to be compiled for testing purposes with the COMPILE_TEST option enabled. Cc: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20241210221641.2661577-1-andi.shyti@kernel.org Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
1 parent 567ef90 commit 4d51ac5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/i2c/busses/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ config I2C_MXS
910910

911911
config I2C_NOMADIK
912912
tristate "ST-Ericsson Nomadik/Ux500 I2C Controller"
913-
depends on ARM_AMBA
913+
depends on ARM_AMBA || COMPILE_TEST
914914
help
915915
If you say yes to this option, support will be included for the
916916
I2C interface from ST-Ericsson's Nomadik and Ux500 architectures,

0 commit comments

Comments
 (0)