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

Configure Feed

Select the types of activity you want to include in your feed.

i2c: tegra: enable compile testing on all archs

Commit 4a2d5f663dab ("i2c: Enable compile testing for more drivers")
enabled compile testing of the Tegra i2c driver only for architectures
that explicitly provide readsX() and writesX().

This limitation appears to have been too restrictive since the generic
implementation of these primitives added by commit 9ab3a7a0d2b4
("asm-generic/io.h: Implement generic {read,write}s*()") predates the
commit in question.

Allow compile testing of the driver on all architectures.

Cc: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

authored by

Johan Hovold and committed by
Wolfram Sang
73e65c42 58ea47a3

+1 -2
+1 -2
drivers/i2c/busses/Kconfig
··· 1211 1211 1212 1212 config I2C_TEGRA 1213 1213 tristate "NVIDIA Tegra internal I2C controller" 1214 - depends on ARCH_TEGRA || (COMPILE_TEST && (ARC || ARM || ARM64 || M68K || RISCV || SUPERH || SPARC)) 1215 - # COMPILE_TEST needs architectures with readsX()/writesX() primitives 1214 + depends on ARCH_TEGRA || COMPILE_TEST 1216 1215 help 1217 1216 If you say yes to this option, support will be included for the 1218 1217 I2C controller embedded in NVIDIA Tegra SOCs