Re: [PATCH] i2c: imx: add slave support
From: Dmitriy Baranov
Date: Tue Jan 26 2016 - 04:54:31 EST
Sorry, we should have added selecting this in our patch.
The following fixes it:
Subject: [PATCH] Select I2C_SLAVE for i2c-imx driver because it uses the
generic slave interface.
Signed-off-by: Dmitriy Baranov <dbaranov@xxxxxxxxxxxxx>
Signed-off-by: Maxim Syrchin <syrchin@xxxxxxxxxxxxx>
---
drivers/i2c/busses/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 0299dfa..bc7cbfd 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -587,6 +587,7 @@ config I2C_IMG
config I2C_IMX
tristate "IMX I2C interface"
depends on ARCH_MXC || ARCH_LAYERSCAPE
+ select I2C_SLAVE
help
Say Y here if you want to use the IIC bus controller on
the Freescale i.MX/MXC or Layerscape processors.
--
2.5.0
On 26.01.2016 11:36, Wolfram Sang wrote:
On Tue, Jan 26, 2016 at 11:22:24AM +0300, Dmitriy Baranov wrote:
Thank you for testing our patch.
Due to using the generic slave interface, It should be enabled in the config
file.
Please add the following in the config file:
CONFIG_I2C_SLAVE=y
For now, you need to select it to make randconfigs built.