From 1fa96e80ecd5d0daeb7c76b9ceb447b442894177 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Mon, 20 Oct 2014 00:23:41 +0200 Subject: i2c: mxs: Add basic support for i2c framework This patch just converts the function prototypes used throughout this driver to match those of the i2c framework. There is so far no functional change. This patch does not do the deeper integration of the framework bits. Signed-off-by: Marek Vasut Cc: Stefano Babic Cc: Heiko Schocher --- include/configs/mxs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/configs/mxs.h') diff --git a/include/configs/mxs.h b/include/configs/mxs.h index eb96fc17f3..dea8227aeb 100644 --- a/include/configs/mxs.h +++ b/include/configs/mxs.h @@ -148,7 +148,8 @@ /* I2C */ #ifdef CONFIG_CMD_I2C -#define CONFIG_I2C_MXS +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_MXS #define CONFIG_HARD_I2C #ifndef CONFIG_SYS_I2C_SPEED #define CONFIG_SYS_I2C_SPEED 400000 -- cgit v1.2.1