linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: fix ACPI_I2C_OPREGION dependency
@ 2017-11-22 17:05 Eric Auger
  2018-01-02 18:07 ` Sinan Kaya
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Auger @ 2017-11-22 17:05 UTC (permalink / raw)
  To: eric.auger.pro, eric.auger, wsa, linux-i2c, linux-kernel, okaya

If CONFIG_I2C=m we fail getting ACPI_I2C_OPREGION set. Let's
make ACPI_I2C_OPREGION depend on I2C.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
---
 drivers/i2c/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index efc3354..5951e9d 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -26,7 +26,7 @@ config I2C
 
 config ACPI_I2C_OPREGION
 	bool "ACPI I2C Operation region support"
-	depends on I2C=y && ACPI
+	depends on I2C && ACPI
 	default y
 	help
 	  Say Y here if you want to enable ACPI I2C operation region support.
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-03 14:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-22 17:05 [PATCH] i2c: fix ACPI_I2C_OPREGION dependency Eric Auger
2018-01-02 18:07 ` Sinan Kaya
2018-01-02 18:10   ` Randy Dunlap
2018-01-02 18:19     ` Sinan Kaya
2018-01-03 13:39       ` Sinan Kaya
2018-01-03 14:03         ` Auger Eric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).