[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1511370357-17184-1-git-send-email-eric.auger@redhat.com>
Date: Wed, 22 Nov 2017 18:05:57 +0100
From: Eric Auger <eric.auger@...hat.com>
To: eric.auger.pro@...il.com, eric.auger@...hat.com, wsa@...-dreams.de,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
okaya@...eaurora.org
Subject: [PATCH] i2c: fix ACPI_I2C_OPREGION dependency
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@...hat.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
Powered by blists - more mailing lists