diff mbox

I2C:SAMSUNG:Select I2C_S3C2410 if HAVE_S3C2410_I2C

Message ID 4DA56CB1.20307@linaro.org
State Rejected
Headers show

Commit Message

Tushar Behera April 13, 2011, 9:28 a.m. UTC
-------- Original Message --------
Subject: [PATCH] I2C:SAMSUNG:Select I2C_S3C2410 if HAVE_S3C2410_I2C
Date: Thu, 24 Mar 2011 14:36:13 +0530
From: Tushar Behera <tushar.behera@linaro.org>
To: linux-samsung-soc@vger.kernel.org, linux-i2c@vger.kernel.org
CC: kgene.kim@samsung.com, ben-linux@fluff.org

On Samsung Kconfig files, HAVE_S3C2410_I2C is selected if we want
to enable support for I2C. But the I2C controller is selected only
if I2C_S3C2410 is defined.

This patch selects I2C_S3C2410 when I2C and HAVE_S3C2410 are selected.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
---
  drivers/i2c/busses/Kconfig |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 113505a..410846c 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -549,6 +549,7 @@  config HAVE_S3C2410_I2C
  config I2C_S3C2410
  	tristate "S3C2410 I2C Driver"
  	depends on HAVE_S3C2410_I2C
+	default y
  	help
  	  Say Y here to include support for I2C controller in the
  	  Samsung SoCs.