* [PATCH] i2c: s3c24xx: allow compile-testing
@ 2020-01-07 21:53 Arnd Bergmann
2020-01-08 6:59 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2020-01-07 21:53 UTC (permalink / raw)
To: Florian Fainelli, Kishon Vijay Abraham I, Krzysztof Kozlowski
Cc: Arnd Bergmann, Wolfram Sang, Jean Delvare, Jarkko Nikula,
Andy Shevchenko, Max Staudt, Juergen Fitschen, Elie Morisse,
Stefan Roese, Kamal Dasu, Mauro Carvalho Chehab, linux-i2c,
linux-kernel
The PHY_EXYNOS5250_SATA driver can now be selected on
any platform for compile testing, but this results in a Kconfig
warning:
WARNING: unmet direct dependencies detected for I2C_S3C2410
Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
Selected by [y]:
- PHY_EXYNOS5250_SATA [=y] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]
Allow the I2C driver to be compile-tested as well.
Fixes: 1544133d48c3 ("phy: Enable compile testing for some of drivers")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
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 6a0aa76859f3..ac453c16483d 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -933,7 +933,7 @@ config HAVE_S3C2410_I2C
config I2C_S3C2410
tristate "S3C2410 I2C Driver"
- depends on HAVE_S3C2410_I2C
+ depends on HAVE_S3C2410_I2C || COMPILE_TEST
help
Say Y here to include support for I2C controller in the
Samsung SoCs.
--
2.20.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] i2c: s3c24xx: allow compile-testing
2020-01-07 21:53 [PATCH] i2c: s3c24xx: allow compile-testing Arnd Bergmann
@ 2020-01-08 6:59 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2020-01-08 6:59 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Florian Fainelli, Kishon Vijay Abraham I, Wolfram Sang,
Jean Delvare, Jarkko Nikula, Andy Shevchenko, Max Staudt,
Juergen Fitschen, Elie Morisse, Stefan Roese, Kamal Dasu,
Mauro Carvalho Chehab, linux-i2c, linux-kernel@vger.kernel.org
On Tue, 7 Jan 2020 at 22:54, Arnd Bergmann <arnd@arndb.de> wrote:
>
> The PHY_EXYNOS5250_SATA driver can now be selected on
> any platform for compile testing, but this results in a Kconfig
> warning:
>
> WARNING: unmet direct dependencies detected for I2C_S3C2410
> Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
> Selected by [y]:
> - PHY_EXYNOS5250_SATA [=y] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]
>
> Allow the I2C driver to be compile-tested as well.
>
> Fixes: 1544133d48c3 ("phy: Enable compile testing for some of drivers")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Hi,
I already posted this with my first patchset of compile test addons:
v2: https://lore.kernel.org/lkml/1578384779-15487-1-git-send-email-krzk@kernel.org/
v1: https://lore.kernel.org/lkml/20191230172751.17985-5-krzk@kernel.org/
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-08 6:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-07 21:53 [PATCH] i2c: s3c24xx: allow compile-testing Arnd Bergmann
2020-01-08 6:59 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox